freedreno: Fix format string warning
authorKristian H. Kristensen <hoegsberg@google.com>
Thu, 18 Apr 2019 17:44:02 +0000 (10:44 -0700)
committerKristian H. Kristensen <hoegsberg@google.com>
Thu, 18 Apr 2019 18:46:13 +0000 (11:46 -0700)
Modifiers are uin64_t.

Signed-off-by: Kristian H. Kristensen <hoegsberg@google.com>
src/gallium/drivers/freedreno/freedreno_resource.c

index 620ed4cad41b7fe62b1ba2986f6e05fb17759957..c7436d74da0fc3af6ebd34fc7e67d8d93f3ef546 100644 (file)
@@ -1069,7 +1069,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: %lx", handle->modifier);
+                       DBG("bad modifier: %llx", handle->modifier);
                        goto fail;
                }
                debug_assert(screen->fill_ubwc_buffer_sizes);