diff options
-rw-r--r-- | pango/pango-emoji-private.h | 2 | ||||
-rw-r--r-- | pango/pango-layout.c | 2 | ||||
-rw-r--r-- | tests/test-itemize.c | 2 | ||||
-rw-r--r-- | tests/test-shape.c | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/pango/pango-emoji-private.h b/pango/pango-emoji-private.h index 928ad885..d5cbccf4 100644 --- a/pango/pango-emoji-private.h +++ b/pango/pango-emoji-private.h @@ -40,7 +40,7 @@ struct _PangoEmojiIter const gchar *end; gboolean is_emoji; - const unsigned char *types; + unsigned char *types; unsigned int n_chars; unsigned int cursor; }; diff --git a/pango/pango-layout.c b/pango/pango-layout.c index 7e450f5e..7735d6f2 100644 --- a/pango/pango-layout.c +++ b/pango/pango-layout.c @@ -3468,7 +3468,7 @@ get_need_hyphen (PangoItem *item, int *need_hyphen) { int i; - char *p; + const char *p; for (i = 0, p = text + item->offset; i < item->num_chars; i++, p = g_utf8_next_char (p)) { 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)) { |