mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2026-05-04 23:38:02 +02:00
exynos_fimg2d: fix cast from pointer to integer of different size
Fixes two gcc [-Wpointer-to-int-cast] warnings. Signed-off-by: Daniel Kurtz <djkurtz@chromium.org> Acked-by: Inki Dae <inki.dae@samsung.com>
This commit is contained in:
parent
ebe21baec5
commit
4e193aa817
1 changed files with 2 additions and 2 deletions
|
|
@ -158,8 +158,8 @@ static int g2d_flush(struct g2d_context *ctx)
|
|||
|
||||
memset(&cmdlist, 0, sizeof(struct drm_exynos_g2d_set_cmdlist));
|
||||
|
||||
cmdlist.cmd = (unsigned int)&ctx->cmd[0];
|
||||
cmdlist.cmd_buf = (unsigned int)&ctx->cmd_buf[0];
|
||||
cmdlist.cmd = (uint64_t)(uintptr_t)&ctx->cmd[0];
|
||||
cmdlist.cmd_buf = (uint64_t)(uintptr_t)&ctx->cmd_buf[0];
|
||||
cmdlist.cmd_nr = ctx->cmd_nr;
|
||||
cmdlist.cmd_buf_nr = ctx->cmd_buf_nr;
|
||||
cmdlist.event_type = G2D_EVENT_NOT;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue