diff options
author | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2008-04-30 22:38:17 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-04-30 22:58:47 +0200 |
commit | 12bc4e94251c369c529ffa505cf58b148c372f7f (patch) | |
tree | b8fc14a0c94687ac766eba56cb8ec445dfad0668 /common | |
parent | 1b9ed2574a38c93cb03dad41885fc06be4bfc9dd (diff) | |
download | u-boot-imx-12bc4e94251c369c529ffa505cf58b148c372f7f.zip u-boot-imx-12bc4e94251c369c529ffa505cf58b148c372f7f.tar.gz u-boot-imx-12bc4e94251c369c529ffa505cf58b148c372f7f.tar.bz2 |
cmd_nand: fix warning: str2long ncompatible pointer type
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Diffstat (limited to 'common')
-rw-r--r-- | common/cmd_nand.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/cmd_nand.c b/common/cmd_nand.c index 1a3c1df..37eb41b 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; } |