From debf87415579c0f50aab9e0832976d4506babe0f Mon Sep 17 00:00:00 2001
From: Wolfgang Denk <wd@denx.de>
Date: Sat, 16 May 2009 10:47:40 +0200
Subject: [PATCH] cpu/mpc512x/diu.c: fix warning: assignment from incompatible
 pointer type

Signed-off-by: Wolfgang Denk <wd@denx.de>
Cc: John Rigby <jcrigby@gmail.com>
---
 cpu/mpc512x/diu.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cpu/mpc512x/diu.c b/cpu/mpc512x/diu.c
index 6d7e40f0b7..70849ee21b 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);
 }
 
-- 
2.39.5