]> git.sur5r.net Git - u-boot/commit
Reduce casting in mtest
authorSimon Glass <sjg@chromium.org>
Sun, 24 Feb 2013 17:33:20 +0000 (17:33 +0000)
committerSimon Glass <sjg@chromium.org>
Fri, 1 Mar 2013 03:09:22 +0000 (19:09 -0800)
commit8c86bbe00f927de0655a65e43344ca0678d1bc34
tree4680f261dc929952656d52479d47853e6929f033
parentc44d4386e67ac6dd57ddd60fdde54bf7ed581b6e
Reduce casting in mtest

Use a ulong for the command arguments, and only cast to an address when
needed. This fixes warnings in sandbox where pointers are typically 64 bits
long.

Signed-off-by: Simon Glass <sjg@chromium.org>
common/cmd_mem.c