diff options
author | Eric Anholt <[email protected]> | 2019-05-09 17:26:44 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2019-05-13 15:37:01 -0700 |
commit | c49f0159bd04e72119a63ce96ae385b53112cc44 (patch) | |
tree | f77acc141ff1e0d7b879b1dbf733ce0b98a62d6a /src/freedreno/drm/msm_priv.h | |
parent | 0734905d9a21623252b8e8a177509f3526ba1bdb (diff) |
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 <[email protected]>
Diffstat (limited to 'src/freedreno/drm/msm_priv.h')
-rw-r--r-- | src/freedreno/drm/msm_priv.h | 2 |
1 files changed, 1 insertions, 1 deletions
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); } } } |