Fixes for more complaints from cppcheck

This commit is contained in:
Gregory Nutt
2014-11-25 08:09:57 -06:00
parent 6a756df3ed
commit 6d63658c46
5 changed files with 41 additions and 94 deletions

View File

@@ -385,7 +385,7 @@ static inline int configdata_rdentry(FAR struct configdata_entrydesc_s *entry)
crc = crc32(g_entryimage, entry->len);
if (crc != entry->crc)
{
printf("ERROR: Bad CRC: %d vs %d\n", crc, entry->crc);
printf("ERROR: Bad CRC: %u vs %u\n", crc, entry->crc);
printf(" Entry id: %04X\n", entry->id);
printf(" Entry size: %d\n", entry->len);
return ERROR;