diff --git a/girwriter.c b/girwriter.c index 4bc7fc963..dacce86f3 100644 --- a/girwriter.c +++ b/girwriter.c @@ -237,7 +237,7 @@ write_type_info (const gchar *namespace, else if (tag == GI_TYPE_TAG_ARRAY) { gint length, size; - char *name = NULL; + const char *name = NULL; xml_start_element (file, "array"); diff --git a/gitypelib.c b/gitypelib.c index d9e924f63..8ad13604e 100644 --- a/gitypelib.c +++ b/gitypelib.c @@ -272,7 +272,7 @@ strsplit_iter_init (StrSplitIter *iter, static gboolean strsplit_iter_next (StrSplitIter *iter, - char **out_val) + const char **out_val) { const char *s = iter->s; const char *next;