Module: Mesa
Branch: master
Commit: a90aa14f5a0514ed0caf2a6715bca44ce046fe72
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=a90aa14f5a0514ed0caf2a6715bca44ce046fe72

Author: Kristian H. Kristensen <[email protected]>
Date:   Thu Apr 18 10:44:02 2019 -0700

freedreno: Fix format string warning

Modifiers are uin64_t.

Signed-off-by: Kristian H. Kristensen <[email protected]>

---

 src/gallium/drivers/freedreno/freedreno_resource.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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);

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to