cpu/mpc512x/diu.c: fix warning: assignment from incompatible pointer type
authorWolfgang Denk <wd@denx.de>
Sat, 16 May 2009 08:47:40 +0000 (10:47 +0200)
committerWolfgang Denk <wd@denx.de>
Fri, 12 Jun 2009 18:47:16 +0000 (20:47 +0200)
Signed-off-by: Wolfgang Denk <wd@denx.de>
Cc: John Rigby <jcrigby@gmail.com>
cpu/mpc512x/diu.c

index 6d7e40f0b7baeb5b0a4c775f481e17c5fbc07c4a..70849ee21bbefa3df47a8519a870dc531e3a1bda 100644 (file)
@@ -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);
 }