From 9018e7b13c5fca42daf16623b8d1a30ca7299f36 Mon Sep 17 00:00:00 2001 From: Christoph Reiter Date: Sun, 29 Jul 2018 14:47:58 +0200 Subject: [PATCH] build: enable -Wincompatible-pointer-types --- gitypelib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gitypelib.c b/gitypelib.c index 8ad13604e..f2b206078 100644 --- a/gitypelib.c +++ b/gitypelib.c @@ -324,7 +324,7 @@ g_typelib_matches_gtype_name_prefix (GITypelib *typelib, { Header *header = (Header *)typelib->data; const char *c_prefix; - gchar *prefix; + const gchar *prefix; gboolean ret = FALSE; StrSplitIter split_iter; gsize gtype_name_len;