From c49f0159bd04e72119a63ce96ae385b53112cc44 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Thu, 9 May 2019 17:26:44 -0700 Subject: freedreno: Quiet compiler warnings on 64-bit. __u64 is a ulonglong on x86_64, not uint64_t, so my gcc was complaining about the wrong type being passed in. Reviewed-by: Kristian H. Kristensen --- src/freedreno/drm/msm_priv.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/freedreno/drm') diff --git a/src/freedreno/drm/msm_priv.h b/src/freedreno/drm/msm_priv.h index 27f43d1c4ee..44fb777f988 100644 --- a/src/freedreno/drm/msm_priv.h +++ b/src/freedreno/drm/msm_priv.h @@ -98,7 +98,7 @@ msm_dump_submit(struct drm_msm_gem_submit *req) struct drm_msm_gem_submit_reloc *r = &relocs[j]; ERROR_MSG(" reloc[%d]: submit_offset=%u, or=%08x, shift=%d, reloc_idx=%u" ", reloc_offset=%"PRIu64, j, r->submit_offset, r->or, r->shift, - r->reloc_idx, r->reloc_offset); + r->reloc_idx, (uint64_t)r->reloc_offset); } } } -- cgit v1.2.3