From 18c5e64c5b0f21f0824bf4f0a8ab0f942652ee7f Mon Sep 17 00:00:00 2001 From: Stefan Roese Date: Wed, 18 Jan 2006 20:06:44 +0100 Subject: Fix various compiler warnings on ppc4xx builds (ELDK 4.0) Patch by Stefan Roese, 18 Jan 2006 --- board/esd/common/auto_update.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'board/esd/common') diff --git a/board/esd/common/auto_update.c b/board/esd/common/auto_update.c index d48e972..1decc0e 100644 --- a/board/esd/common/auto_update.c +++ b/board/esd/common/auto_update.c @@ -283,7 +283,7 @@ int au_do_update(int i, long sz) */ if (au_image[i].type != AU_NAND) { debug ("flash_write(%p, %lx %x)\n", addr, start, nbytes); - rc = flash_write((uchar *)addr, start, nbytes); + rc = flash_write((char *)addr, start, nbytes); } else { #if (CONFIG_COMMANDS & CFG_CMD_NAND) debug ("nand_rw(%p, %lx %x)\n", addr, start, nbytes); -- cgit v1.1