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>
This commit is contained in:
Wolfgang Denk 2009-05-16 10:47:40 +02:00
parent 8b25126319
commit debf874155

View 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);
}