mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-08 12:45:26 -05:00
Fix yellow
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23102 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
b84ef86871
commit
9f18e1958f
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue