diff options
author | Paul Kocialkowski | 2024-08-20 13:40:04 +0200 |
---|---|---|
committer | Paul Kocialkowski | 2024-08-20 13:40:04 +0200 |
commit | 047116c8f35df36cbbfcc28384e94cbb44526ff1 (patch) | |
tree | 63977b1258ad13780c32c4acd6843124a647c128 | |
parent | e9237a20fea5f164481fcab3ff286f4e1da74550 (diff) |
media: sunxi: cedar: Fix implicit cast build error
Signed-off-by: Paul Kocialkowski <paulk@sys-base.io>
-rw-r--r-- | drivers/staging/media/sunxi/cedar/ve/cedar_ve.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/media/sunxi/cedar/ve/cedar_ve.c b/drivers/staging/media/sunxi/cedar/ve/cedar_ve.c index 891e07a49e42..ebd28ed1e366 100644 --- a/drivers/staging/media/sunxi/cedar/ve/cedar_ve.c +++ b/drivers/staging/media/sunxi/cedar/ve/cedar_ve.c @@ -740,7 +740,7 @@ static long compat_cedardev_ioctl(struct file *filp, unsigned int cmd, env_info.phymem_start = 0; env_info.phymem_total_size = 0; - env_info.address_macc = cedar_devp->regs_macc; + env_info.address_macc = (uint32_t)cedar_devp->regs_macc; if (copy_to_user((char *)arg, &env_info, sizeof(struct cedarv_env_infomation_compat))) return -EFAULT; |