From: Alyssa Rosenzweig Date: Sun, 10 Mar 2019 19:16:56 +0000 (+0000) Subject: panfrost/drm: Cast pointer to u64 to fix warning X-Git-Url: https://git.libre-soc.org/?p=mesa.git;a=commitdiff_plain;h=ea2cd73625950a56dffb1bfc009ae86c53545ce0 panfrost/drm: Cast pointer to u64 to fix warning Signed-off-by: Alyssa Rosenzweig --- 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;