mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 23:24:38 +00:00
cmd_nand.c: fix another 'incompatible pointer type' warning.
Signed-off-by: Wolfgang Denk <wd@denx.de>
This commit is contained in:
parent
de109d9097
commit
42ffcec3f9
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue