summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/freedreno/freedreno_resource.c
diff options
context:
space:
mode:
authorKristian H. Kristensen <[email protected]>2019-04-18 10:44:02 -0700
committerKristian H. Kristensen <[email protected]>2019-04-18 11:46:13 -0700
commita90aa14f5a0514ed0caf2a6715bca44ce046fe72 (patch)
treef8e21b59543ac4aeafd50a9727feeba5d4d79cd4 /src/gallium/drivers/freedreno/freedreno_resource.c
parent9c82a55efc4835af0ec7a6e1afc8e5ba00178c17 (diff)
freedreno: Fix format string warning
Modifiers are uin64_t. Signed-off-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 620ed4cad41..c7436d74da0 100644
--- a/src/gallium/drivers/freedreno/freedreno_resource.c
+++ b/src/gallium/drivers/freedreno/freedreno_resource.c
@@ -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);