freedreno: Fix warning on printing a uint64_t using %llx.
authorEric Anholt <eric@anholt.net>
Mon, 13 May 2019 18:04:46 +0000 (11:04 -0700)
committerEric Anholt <eric@anholt.net>
Mon, 13 May 2019 22:37:01 +0000 (15:37 -0700)
Reviewed-by: Kristian H. Kristensen <hoegsberg@google.com>
src/gallium/drivers/freedreno/freedreno_resource.c

index 7108ed18776355031c776c5c15329c4f5c31d9b8..249a4580893a4096e3a98e713c72d50fd19fe84f 100644 (file)
@@ -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);