summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/test-itemize.c2
-rw-r--r--tests/test-shape.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/test-itemize.c b/tests/test-itemize.c
index 2e99f7c3..8ddf2ec9 100644
--- a/tests/test-itemize.c
+++ b/tests/test-itemize.c
@@ -39,7 +39,7 @@ append_text (GString *s,
const char *text,
int len)
{
- char *p;
+ const char *p;
for (p = text; p < text + len; p = g_utf8_next_char (p))
{
diff --git a/tests/test-shape.c b/tests/test-shape.c
index da9b8ff5..dec3bf22 100644
--- a/tests/test-shape.c
+++ b/tests/test-shape.c
@@ -39,7 +39,7 @@ append_text (GString *s,
const char *text,
int len)
{
- char *p;
+ const char *p;
for (p = text; p < text + len; p = g_utf8_next_char (p))
{