projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de109d9
)
cmd_nand.c: fix another 'incompatible pointer type' warning.
author
Wolfgang Denk
<wd@denx.de>
Wed, 30 Apr 2008 15:46:26 +0000
(17:46 +0200)
committer
Wolfgang Denk
<wd@denx.de>
Wed, 30 Apr 2008 15:46:26 +0000
(17:46 +0200)
Signed-off-by: Wolfgang Denk <wd@denx.de>
common/cmd_nand.c
patch
|
blob
|
history
diff --git
a/common/cmd_nand.c
b/common/cmd_nand.c
index 1a3c1df03e01fe9fca9d1d5d39afffcc69fa121e..37eb41b20e642363b0035dcbe7c18eb3787fa230 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;
}