From: Kristian H. Kristensen Date: Thu, 18 Apr 2019 17:44:02 +0000 (-0700) Subject: freedreno: Fix format string warning X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a90aa14f5a0514ed0caf2a6715bca44ce046fe72;p=mesa.git freedreno: Fix format string warning Modifiers are uin64_t. Signed-off-by: Kristian H. Kristensen --- 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);