Commit 707fa917 authored by Wolfgang Denk's avatar Wolfgang Denk
Browse files

jffs2_1pass.c: fix incompatible pointer type warning


Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
parent dd5748bc
......@@ -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) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment