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




commit 9f02ce411da7b15d5edcf2cd8c813d3098559619
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]