mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 20:07:46 +09:00
rga2 compile error on 64 bit platform
Signed-off-by: Shengqin.Zhang <zsq@rock-chips.com>
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user