aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/freedreno/freedreno_resource.c
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2019-05-13 11:04:46 -0700
committerEric Anholt <[email protected]>2019-05-13 15:37:01 -0700
commitdb329260bff2ba36d486c14c52f9202bb385a1e2 (patch)
treecf60c91e0ed60706e6ebb64d37b020994791ada6 /src/gallium/drivers/freedreno/freedreno_resource.c
parent40dd28acc389722ba5b7d6592156446008906a4e (diff)
freedreno: Fix warning on printing a uint64_t using %llx.
Reviewed-by: Kristian H. Kristensen <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno/freedreno_resource.c')
-rw-r--r--src/gallium/drivers/freedreno/freedreno_resource.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/freedreno/freedreno_resource.c b/src/gallium/drivers/freedreno/freedreno_resource.c
index 7108ed18776..249a4580893 100644
--- a/src/gallium/drivers/freedreno/freedreno_resource.c
+++ b/src/gallium/drivers/freedreno/freedreno_resource.c
@@ -1078,7 +1078,7 @@ fd_resource_from_handle(struct pipe_screen *pscreen,
if (handle->modifier == DRM_FORMAT_MOD_QCOM_COMPRESSED) {
if (!is_supported_modifier(pscreen, tmpl->format,
DRM_FORMAT_MOD_QCOM_COMPRESSED)) {
- DBG("bad modifier: %llx", handle->modifier);
+ DBG("bad modifier: %"PRIx64, handle->modifier);
goto fail;
}
debug_assert(screen->fill_ubwc_buffer_sizes);