diff options
author | Michael Sparmann <theseven@rockbox.org> | 2009-10-11 10:22:07 +0000 |
---|---|---|
committer | Michael Sparmann <theseven@rockbox.org> | 2009-10-11 10:22:07 +0000 |
commit | 9f18e1958ff0cb14fa02e61668d2cdfde14e49a9 (patch) | |
tree | b8dd9a68c5809b0c8d2aefe5982621bd785d1b94 /firmware | |
parent | b84ef868717fe4cb24c0dd4ce83fef115c1ed0db (diff) |
Fix yellow
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23102 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/target/arm/s5l8700/ipodnano2g/ftl-nano2g.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/arm/s5l8700/ipodnano2g/ftl-nano2g.c b/firmware/target/arm/s5l8700/ipodnano2g/ftl-nano2g.c index 4b34dac3d7..e20896d8b9 100644 --- a/firmware/target/arm/s5l8700/ipodnano2g/ftl-nano2g.c +++ b/firmware/target/arm/s5l8700/ipodnano2g/ftl-nano2g.c @@ -1191,7 +1191,7 @@ uint32_t ftl_allocate_pool_block(void) /* Releases a vBlock back into the pool */ void ftl_release_pool_block(uint32_t block) { - if (block >= (*ftl_nand_type).userblocks + 0x17) return; + if (block >= (uint32_t)(*ftl_nand_type).userblocks + 0x17) return; uint32_t idx = ftl_cxt.nextfreeidx + ftl_cxt.freecount++; if (idx >= 0x14) idx -= 0x14; ftl_cxt.blockpool[idx] = block; |