cmd_nand : fix compiler warning.
PATCH 1/1 cmd_nand : fix compiler warning.
Signed-off-by Jean-Christophe PLAGNIOL-VILLARD <[email protected]>
common/cmd_nand.c +2 -2
@@ -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)
Signature · 1 line
1.5.3.7
Wolfgang Denk
AppliedPATCH 1/1 cmd_nand : fix compiler warning.
Quoted 2 lines · In message <[email protected]> you wrote:
Signed-off-by Jean-Christophe PLAGNIOL-VILLARD <[email protected]>
Applied, thanks.
Best regards,
Wolfgang Denk
Signature · 5 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de Motto of the Electrical Engineer: Working computer hardware is a lot like an erect penis: it stays up as long as you don't fuck with it.