]> git.ipfire.org Git - people/ms/u-boot.git/commitdiff
cmd_nand.c: fix another 'incompatible pointer type' warning.
authorWolfgang Denk <wd@denx.de>
Wed, 30 Apr 2008 15:46:26 +0000 (17:46 +0200)
committerWolfgang 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

index 1a3c1df03e01fe9fca9d1d5d39afffcc69fa121e..37eb41b20e642363b0035dcbe7c18eb3787fa230 100644 (file)
@@ -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;
                                }