[pango/pango2: 1/3] serializer: Fix compiler warnings




commit 3944a71cdb212b9f733123f87d6052e8290712d1
Author: Matthias Clasen <mclasen redhat com>
Date:   Tue Jun 14 07:32:31 2022 -0400

    serializer: Fix compiler warnings
    
    These were showing up in ci on Windows.

 pango/serializer.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/pango/serializer.c b/pango/serializer.c
index 8b6ba4192..983270743 100644
--- a/pango/serializer.c
+++ b/pango/serializer.c
@@ -1719,7 +1719,8 @@ pango_layout_deserialize (PangoContext                 *context,
         code = PANGO_LAYOUT_DESERIALIZE_INVALID;
 
       g_set_error (error, PANGO_LAYOUT_DESERIALIZE_ERROR, code,
-                   "%ld:%ld: %s", start, end, parser_error->message);
+                   "%" G_GSIZE_FORMAT ":%" G_GSIZE_FORMAT ": %s",
+                   start, end, parser_error->message);
 
       g_clear_object (&layout);
     }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]