diff options
author | Matthias Clasen <mclasen@redhat.com> | 2019-07-18 09:49:38 -0700 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2019-07-18 09:49:38 -0700 |
commit | 83de8d4c11b00a155b926867e3606db74d5fb6c2 (patch) | |
tree | f9e1380be7ef00d5a4e0377f09fa379200224848 /tests | |
parent | a867698c7fdc11da8ecaaf1d6a32fafec7d11373 (diff) | |
download | pango-83de8d4c11b00a155b926867e3606db74d5fb6c2.tar.gz |
Fix more compiler warnings
These are clang warnings.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test-itemize.c | 2 | ||||
-rw-r--r-- | tests/test-shape.c | 2 |
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)) { |