[pango/matthiasc/for-master: 4/4] Quiet another compiler warning




commit 2926528b5b8044591c9307e280eff3ae6bec48d5
Author: Matthias Clasen <mclasen redhat com>
Date:   Sat Jul 10 10:29:10 2021 -0400

    Quiet another compiler warning

 tests/test-layout.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/tests/test-layout.c b/tests/test-layout.c
index 2a57b042..ca9e5da5 100644
--- a/tests/test-layout.c
+++ b/tests/test-layout.c
@@ -363,7 +363,7 @@ test_file (const char *filename, GString *string)
   char *p;
   LayoutParams params;
   PangoFontDescription *desc;
-  PangoFontDescription *desc2;
+  const PangoFontDescription *desc2;
   guint serial;
   PangoRectangle ink_rect, logical_rect;
   PangoRectangle ink_rect1, logical_rect1;


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