Skip to content
Snippets Groups Projects
Commit adcc5705 authored by Tom Rini's avatar Tom Rini
Browse files

cmd_mem.c: Update 'iteration_limit' to unsigned long


With e37f1eb4 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: default avatarTom Rini <trini@konsulko.com>
parent c4aaf2e0
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment