Commit 12bc4e94251c369c529ffa505cf58b148c372f7f

Authored by Jean-Christophe PLAGNIOL-VILLARD
Committed by Wolfgang Denk
1 parent 1b9ed2574a

cmd_nand: fix warning: str2long ncompatible pointer type

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

... ... @@ -110,7 +110,7 @@
110 110 }
111 111 *off = part->offset;
112 112 if (argc >= 2) {
113   - if (!(str2long(argv[1], size))) {
  113 + if (!(str2long(argv[1], (ulong *)size))) {
114 114 printf("'%s' is not a number\n", argv[1]);
115 115 return -1;
116 116 }