summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;