summaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorAmaury Pouly <amaury.pouly@gmail.com>2012-12-13 00:23:07 +0100
committerAmaury Pouly <amaury.pouly@gmail.com>2012-12-13 00:23:07 +0100
commitc644f6b7f1506ca2e9b5f8a53c6e28f8acef42ca (patch)
tree1758fa7e0b70c65e4e77eb64ed0a586e6bff0c63 /utils
parentb86b0a1b44f88e74a82da81eebae02828d6d09fc (diff)
downloadrockbox-c644f6b7f1506ca2e9b5f8a53c6e28f8acef42ca.tar.gz
rockbox-c644f6b7f1506ca2e9b5f8a53c6e28f8acef42ca.tar.bz2
rockbox-c644f6b7f1506ca2e9b5f8a53c6e28f8acef42ca.zip
sbootls/rsrc: fix warnings
Change-Id: Id756cab14c9151ea74d628d002e1a203c5fbf01a
Diffstat (limited to 'utils')
-rw-r--r--utils/imxtools/sbtools/rsrc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/utils/imxtools/sbtools/rsrc.c b/utils/imxtools/sbtools/rsrc.c
index 49d2158483..8967c0ed15 100644
--- a/utils/imxtools/sbtools/rsrc.c
+++ b/utils/imxtools/sbtools/rsrc.c
@@ -157,7 +157,7 @@ static bool read_entries(struct rsrc_file_t *f, void *u,
{
uint8_t *p = f->data + ent.offset;
printf(OFF, " ");
- for(int i = 0; i < MIN(sz, 16); i++)
+ for(unsigned i = 0; i < MIN(sz, 16); i++)
printf(RED, "%c", isprint(p[i]) ? p[i] : '.');
}
printf(OFF, "\n");
@@ -248,6 +248,7 @@ void rsrc_dump(struct rsrc_file_t *file, void *u, rsrc_color_printf cprintf)
#define SEP OFF
printf(HEADER, "RSRC File\n");
+ (void) file;
#undef printf
#undef print_hex