summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2019-07-18 09:49:38 -0700
committerMatthias Clasen <mclasen@redhat.com>2019-07-18 09:49:38 -0700
commit83de8d4c11b00a155b926867e3606db74d5fb6c2 (patch)
treef9e1380be7ef00d5a4e0377f09fa379200224848 /tests
parenta867698c7fdc11da8ecaaf1d6a32fafec7d11373 (diff)
downloadpango-83de8d4c11b00a155b926867e3606db74d5fb6c2.tar.gz
Fix more compiler warnings
These are clang warnings.
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))
{