aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2015-04-07 09:38:54 -0400
committerTom Rini <trini@konsulko.com>2015-04-07 09:38:54 -0400
commitadcc5705991ce3162fc204da9a673d9fe2cc5bf0 (patch)
tree00d701adb0d0b60738a407e481223dc66f1d5064
parentc4aaf2e0a6b6d215b5b6146b5502200f67d2ad0a (diff)
downloadu-boot-midas-adcc5705991ce3162fc204da9a673d9fe2cc5bf0.tar.gz
u-boot-midas-adcc5705991ce3162fc204da9a673d9fe2cc5bf0.tar.bz2
u-boot-midas-adcc5705991ce3162fc204da9a673d9fe2cc5bf0.zip
cmd_mem.c: Update 'iteration_limit' to unsigned long
With e37f1eb we now use strict_strtoul() in do_mem_mtest() and this gives us a warning: ../include/vsprintf.h:38:5: note: expected 'long unsigned int *' but argument is of type 'int *' Signed-off-by: Tom Rini <trini@konsulko.com>
-rw-r--r--common/cmd_mem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/cmd_mem.c b/common/cmd_mem.c
index 20a875cffe..3f85c1aa85 100644
--- a/common/cmd_mem.c
+++ b/common/cmd_mem.c
@@ -999,7 +999,7 @@ static int do_mem_mtest(cmd_tbl_t *cmdtp, int flag, int argc,
{
ulong start, end;
vu_long *buf, *dummy;
- int iteration_limit = 0;
+ ulong iteration_limit = 0;
int ret;
ulong errs = 0; /* number of errors, or -1 if interrupted */
ulong pattern = 0;