From: Wolfgang Denk Date: Wed, 30 Apr 2008 15:46:26 +0000 (+0200) Subject: cmd_nand.c: fix another 'incompatible pointer type' warning. X-Git-Tag: v1.3.3-rc3~11 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=42ffcec3f9eba010a662d5b42981812b6bebfb9a;p=u-boot cmd_nand.c: fix another 'incompatible pointer type' warning. Signed-off-by: Wolfgang Denk --- diff --git a/common/cmd_nand.c b/common/cmd_nand.c index 1a3c1df03e..37eb41b20e 100644 --- a/common/cmd_nand.c +++ b/common/cmd_nand.c @@ -110,7 +110,7 @@ arg_off_size(int argc, char *argv[], nand_info_t *nand, ulong *off, size_t *size } *off = part->offset; if (argc >= 2) { - if (!(str2long(argv[1], size))) { + if (!(str2long(argv[1], (ulong *)size))) { printf("'%s' is not a number\n", argv[1]); return -1; }