提交 debf8741 编写于 作者: W Wolfgang Denk

cpu/mpc512x/diu.c: fix warning: assignment from incompatible pointer type

Signed-off-by: NWolfgang Denk <wd@denx.de>
Cc: John Rigby <jcrigby@gmail.com>
上级 8b251263
......@@ -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);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册