rga2 compile error on 64 bit platform

Signed-off-by: Shengqin.Zhang <zsq@rock-chips.com>
This commit is contained in:
Shengqin.Zhang
2015-06-10 17:28:17 +08:00
parent 001f25ec76
commit c584d65041

View File

@@ -679,7 +679,7 @@ RGA2_set_reg_color_palette(RK_U8 *base, struct rga2_req *msg)
src_stride = (byte_num + 3) & (~3);
p = (RK_U32 *)((RK_U32)msg->src.yrgb_addr);
p = (RK_U32 *)((unsigned long)msg->src.yrgb_addr);
#if 0
if(endian_mode)