Module: Mesa Branch: master Commit: ea2cd73625950a56dffb1bfc009ae86c53545ce0 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ea2cd73625950a56dffb1bfc009ae86c53545ce0
Author: Alyssa Rosenzweig <[email protected]> Date: Sun Mar 10 19:16:56 2019 +0000 panfrost/drm: Cast pointer to u64 to fix warning Signed-off-by: Alyssa Rosenzweig <[email protected]> --- 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; _______________________________________________ mesa-commit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-commit
