[pango/matthiasc/for-master] Silence compiler warnings



commit 518a94a923c9d5324fe5ff434c333c55f49fc3d4
Author: Matthias Clasen <mclasen redhat com>
Date:   Sat Jul 10 10:11:47 2021 -0400

    Silence compiler warnings

 tests/test-common.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/tests/test-common.c b/tests/test-common.c
index 14e9941a..66493990 100644
--- a/tests/test-common.c
+++ b/tests/test-common.c
@@ -225,7 +225,8 @@ G_GNUC_BEGIN_IGNORE_DEPRECATIONS
 PangoAttribute *
 attribute_from_string (const char *string)
 {
-  char *s, *p;
+  const char *s;
+  char *p;
   PangoAttribute *attr;
   long long start, end;
   GEnumClass *class;


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