[pango/pango2: 16/44] serializer: Fix compiler warnings




commit 72fe82d31faacdb4979e9277c4f435496ee94053
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 8b6ba419..98327074 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]