Selaa lähdekoodia

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>
Wolfgang Denk 16 vuotta sitten
vanhempi
commit
debf874155
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      cpu/mpc512x/diu.c

+ 1 - 1
cpu/mpc512x/diu.c

@@ -95,7 +95,7 @@ int mpc5121_diu_init(void)
 		bmp = valid_bmp(bmp_env);
 		bmp = valid_bmp(bmp_env);
 	}
 	}
 	if (!bmp)
 	if (!bmp)
-		bmp = FSL_Logo_BMP;
+		bmp = (char *)FSL_Logo_BMP;
 	return fsl_diu_init(xres, pixel_format, 0, (unsigned char *)bmp);
 	return fsl_diu_init(xres, pixel_format, 0, (unsigned char *)bmp);
 }
 }