projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1b9ed25
)
cmd_nand: fix warning: str2long ncompatible pointer type
author
Jean-Christophe PLAGNIOL-VILLARD
<plagnioj@jcrosoft.com>
Wed, 30 Apr 2008 20:38:17 +0000
(22:38 +0200)
committer
Wolfgang Denk
<wd@denx.de>
Wed, 30 Apr 2008 20:58:47 +0000
(22:58 +0200)
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
common/cmd_nand.c
patch
|
blob
|
history
diff --git
a/common/cmd_nand.c
b/common/cmd_nand.c
index
1a3c1df
..
37eb41b
100644
(file)
--- 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;
}