From: Eric Anholt Date: Mon, 13 May 2019 18:04:46 +0000 (-0700) Subject: freedreno: Fix warning on printing a uint64_t using %llx. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=db329260bff2ba36d486c14c52f9202bb385a1e2;p=mesa.git freedreno: Fix warning on printing a uint64_t using %llx. Reviewed-by: Kristian H. Kristensen --- diff --git a/src/gallium/drivers/freedreno/freedreno_resource.c b/src/gallium/drivers/freedreno/freedreno_resource.c index 7108ed18776..249a4580893 100644 --- a/src/gallium/drivers/freedreno/freedreno_resource.c +++ b/src/gallium/drivers/freedreno/freedreno_resource.c @@ -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);