diff options
author | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2008-01-13 12:36:12 +0100 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-01-13 15:57:48 +0100 |
commit | 0a1e03bcadc7734688a21e8dd2e46a4f608193c0 (patch) | |
tree | be21507a229f6e509c1504426b75054864da65f2 /common | |
parent | 2b2f43ed6a30ece77f76191c845ac95267daa31a (diff) | |
download | u-boot-imx-0a1e03bcadc7734688a21e8dd2e46a4f608193c0.zip u-boot-imx-0a1e03bcadc7734688a21e8dd2e46a4f608193c0.tar.gz u-boot-imx-0a1e03bcadc7734688a21e8dd2e46a4f608193c0.tar.bz2 |
cmd_nand : fix compiler warning.
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Diffstat (limited to 'common')
-rw-r--r-- | common/cmd_nand.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/cmd_nand.c b/common/cmd_nand.c index b248a2c..8d6c959 100644 --- a/common/cmd_nand.c +++ b/common/cmd_nand.c @@ -350,10 +350,10 @@ int do_nand(cmd_tbl_t * cmdtp, int flag, int argc, char *argv[]) } else if (s != NULL && !strcmp(s, ".oob")) { /* read out-of-band data */ if (read) - ret = nand->read_oob(nand, off, size, &size, + ret = nand->read_oob(nand, off, size, (size_t *) &size, (u_char *) addr); else - ret = nand->write_oob(nand, off, size, &size, + ret = nand->write_oob(nand, off, size, (size_t *) &size, (u_char *) addr); } else { if (read) |