summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorChristoph Reiter <reiter.christoph@gmail.com>2018-07-29 14:26:44 +0200
committerChristoph Reiter <reiter.christoph@gmail.com>2018-07-29 16:48:18 +0200
commit9a3567d5c0f6c451d008da003e64c5ba91e53842 (patch)
treeff99ffb2cc3835ba227b616ec27dab98bcfe0aaa /tests
parent80923051b3e803bf5bdc118c3bac246a308497d6 (diff)
downloadgobject-introspection-9a3567d5c0f6c451d008da003e64c5ba91e53842.tar.gz
build: enable -Wdiscarded-qualifiers
Except for the Python module because nothing in the CPython API is marked const and we'd have to cast everywhere.
Diffstat (limited to 'tests')
-rw-r--r--tests/scanner/annotation.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/scanner/annotation.c b/tests/scanner/annotation.c
index 49bdd246..0f3858f2 100644
--- a/tests/scanner/annotation.c
+++ b/tests/scanner/annotation.c
@@ -816,7 +816,7 @@ regress_annotation_space_after_comment_bug631690 (void)
gchar*
regress_annotation_return_filename (void)
{
- return "a utf-8 filename";
+ return g_strdup ("a utf-8 filename");
}
/**