summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2021-07-10 10:11:47 -0400
committerMatthias Clasen <mclasen@redhat.com>2021-07-10 10:11:47 -0400
commit518a94a923c9d5324fe5ff434c333c55f49fc3d4 (patch)
tree6d67c9a41ea983fc33ce8ea4840df16656414f4b /tests
parente1b051d39fd39e24fa7f04f1f7e97e22c98f3413 (diff)
downloadpango-518a94a923c9d5324fe5ff434c333c55f49fc3d4.tar.gz
Silence compiler warnings
Diffstat (limited to 'tests')
-rw-r--r--tests/test-common.c3
1 files changed, 2 insertions, 1 deletions
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;