From a90aa14f5a0514ed0caf2a6715bca44ce046fe72 Mon Sep 17 00:00:00 2001 From: "Kristian H. Kristensen" Date: Thu, 18 Apr 2019 10:44:02 -0700 Subject: freedreno: Fix format string warning Modifiers are uin64_t. Signed-off-by: Kristian H. Kristensen --- src/gallium/drivers/freedreno/freedreno_resource.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gallium/drivers/freedreno/freedreno_resource.c') 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); -- cgit v1.2.3