summaryrefslogtreecommitdiffstats
path: root/firmware/target/arm/s5l8700
diff options
context:
space:
mode:
authorMichael Sparmann <theseven@rockbox.org>2009-10-11 10:22:07 +0000
committerMichael Sparmann <theseven@rockbox.org>2009-10-11 10:22:07 +0000
commit9f18e1958ff0cb14fa02e61668d2cdfde14e49a9 (patch)
treeb8dd9a68c5809b0c8d2aefe5982621bd785d1b94 /firmware/target/arm/s5l8700
parentb84ef868717fe4cb24c0dd4ce83fef115c1ed0db (diff)
downloadrockbox-9f18e1958ff0cb14fa02e61668d2cdfde14e49a9.tar.gz
rockbox-9f18e1958ff0cb14fa02e61668d2cdfde14e49a9.zip
Fix yellow
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23102 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/s5l8700')
-rw-r--r--firmware/target/arm/s5l8700/ipodnano2g/ftl-nano2g.c2
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;