jffs2_1pass.c: fix incompatible pointer type warning

Signed-off-by: Wolfgang Denk <wd@denx.de>
This commit is contained in:
Wolfgang Denk 2008-04-28 22:01:04 +02:00
parent dd5748bcd6
commit 707fa917cc
1 changed files with 0 additions and 4 deletions

View File

@ -185,11 +185,7 @@ static int read_nand_cached(u32 off, u32 size, u_char *buf)
{
struct mtdids *id = current_part->dev->id;
u32 bytes_read = 0;
#if defined(CFG_NAND_LEGACY)
size_t retlen;
#else
ulong retlen;
#endif
int cpy_bytes;
while (bytes_read < size) {