Fix various compiler warnings on ppc4xx builds (ELDK 4.0)
[platform/kernel/u-boot.git] / board / esd / common / auto_update.c
index d48e972..1decc0e 100644 (file)
@@ -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);