1
0
Fork 0

CO_storageEeprom: static analysis: an unsigned value and a signed value cannot be used together [MISRA 2012 Rule 10.4, required]

This commit is contained in:
temi54c1l8 2024-07-01 08:53:03 +02:00
parent f36345dbab
commit 94022f51f0

View file

@ -29,7 +29,7 @@
#include "storage/CO_storage.h"
#ifndef CO_CONFIG_STORAGE_MAX_ENTRIES_COUNT
#define CO_CONFIG_STORAGE_MAX_ENTRIES_COUNT 5
#define CO_CONFIG_STORAGE_MAX_ENTRIES_COUNT 5U
#endif
#if (((CO_CONFIG_STORAGE) & CO_CONFIG_STORAGE_ENABLE) != 0) || defined CO_DOXYGEN