From ea2cd73625950a56dffb1bfc009ae86c53545ce0 Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Sun, 10 Mar 2019 19:16:56 +0000 Subject: panfrost/drm: Cast pointer to u64 to fix warning Signed-off-by: Alyssa Rosenzweig --- src/gallium/drivers/panfrost/pan_drm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/panfrost/pan_drm.c b/src/gallium/drivers/panfrost/pan_drm.c index a4018a1c74a..6d1129ff5f2 100644 --- a/src/gallium/drivers/panfrost/pan_drm.c +++ b/src/gallium/drivers/panfrost/pan_drm.c @@ -206,7 +206,7 @@ panfrost_drm_submit_job(struct panfrost_context *ctx, u64 job_desc, int reqs, st struct panfrost_drm *drm = (struct panfrost_drm *)screen->driver; struct drm_panfrost_submit submit = {0,}; - submit.in_syncs = &ctx->out_sync; + submit.in_syncs = (u64) (uintptr_t) &ctx->out_sync; submit.in_sync_count = 1; submit.out_sync = ctx->out_sync; -- cgit v1.2.3