[U-Boot] [PATCH 04/29] cpu/mpc512x/diu.c: fix warning: assignment from incompatible pointer type
Wolfgang Denk
wd at denx.de
Sat May 9 21:50:43 CEST 2009
Signed-off-by: Wolfgang Denk <wd at denx.de>
Cc: John Rigby <jcrigby at gmail.com>
---
cpu/mpc512x/diu.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/cpu/mpc512x/diu.c b/cpu/mpc512x/diu.c
index 58a8620..1550c8c 100644
--- a/cpu/mpc512x/diu.c
+++ b/cpu/mpc512x/diu.c
@@ -95,7 +95,7 @@ int mpc5121_diu_init(void)
bmp = valid_bmp(bmp_env);
}
if (!bmp)
- bmp = FSL_Logo_BMP;
+ bmp = (char *)FSL_Logo_BMP;
return fsl_diu_init(xres, pixel_format, 0, (unsigned char *)bmp);
}
--
1.6.0.6
More information about the U-Boot
mailing list