summaryrefslogtreecommitdiffstats
path: root/firmware/target/arm/s5l8700/ipodnano2g/ftl-nano2g.c
diff options
context:
space:
mode:
authorDave Chapman <dave@dchapman.com>2009-10-11 01:45:50 +0000
committerDave Chapman <dave@dchapman.com>2009-10-11 01:45:50 +0000
commit4ea4ce4cfba9f298ad28cd8b3281806606cb1904 (patch)
tree2b6dc1b8b594b56bd0e7980beba70f5db6817b14 /firmware/target/arm/s5l8700/ipodnano2g/ftl-nano2g.c
parentb04a7a86e1d903a37091486764d0dfe09372d663 (diff)
downloadrockbox-4ea4ce4cfba9f298ad28cd8b3281806606cb1904.tar.gz
rockbox-4ea4ce4cfba9f298ad28cd8b3281806606cb1904.zip
Kill some warnings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23085 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/s5l8700/ipodnano2g/ftl-nano2g.c')
-rw-r--r--firmware/target/arm/s5l8700/ipodnano2g/ftl-nano2g.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/target/arm/s5l8700/ipodnano2g/ftl-nano2g.c b/firmware/target/arm/s5l8700/ipodnano2g/ftl-nano2g.c
index 130605f602..4b34dac3d7 100644
--- a/firmware/target/arm/s5l8700/ipodnano2g/ftl-nano2g.c
+++ b/firmware/target/arm/s5l8700/ipodnano2g/ftl-nano2g.c
@@ -684,7 +684,7 @@ void ftl_vfl_schedule_block_for_remap(uint32_t bank, uint32_t block)
{
if (ftl_vfl_check_remap_scheduled(bank, block) == 1)
return;
- panicf("FTL: Scheduling bank %d block %d for remap!", bank, block);
+ panicf("FTL: Scheduling bank %u block %u for remap!", (unsigned)bank, (unsigned)block);
if (ftl_vfl_cxt[bank].scheduledstart == ftl_vfl_cxt[bank].spareused)
return;
ftl_vfl_cxt[bank].remaptable[--ftl_vfl_cxt[bank].scheduledstart] = block;
@@ -770,7 +770,7 @@ uint32_t ftl_vfl_remap_block(uint32_t bank, uint32_t block)
{
uint32_t i;
uint32_t newblock = 0, newidx;
- panicf("FTL: Remapping bank %d block %d!", bank, block);
+ panicf("FTL: Remapping bank %u block %u!", (unsigned)bank, (unsigned)block);
if (bank >= ftl_banks || block >= (*ftl_nand_type).blocks) return 0;
for (i = 0; i < ftl_vfl_cxt[bank].sparecount; i++)
if (ftl_vfl_cxt[bank].remaptable[i] == 0)