From: Jean-Christophe PLAGNIOL-VILLARD Date: Sun, 13 Jan 2008 11:36:12 +0000 (+0100) Subject: cmd_nand : fix compiler warning. X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=0a1e03bcadc7734688a21e8dd2e46a4f608193c0;p=project%2Fbcm63xx%2Fu-boot.git cmd_nand : fix compiler warning. Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- diff --git a/common/cmd_nand.c b/common/cmd_nand.c index b248a2cdb2..8d6c959584 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)