summaryrefslogtreecommitdiff
path: root/libappstream-glib/as-stemmer.c
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2017-03-15 16:50:28 +0000
committerRichard Hughes <richard@hughsie.com>2017-03-15 16:51:50 +0000
commit48d22d2a6ee82d013252ff534af6e34913c710c9 (patch)
treec2e86bf6c38cf9839669694dc153829ebb45cea4 /libappstream-glib/as-stemmer.c
parent0320abd7ea10e5576d98fd4bf5f16e43ae22a057 (diff)
downloadappstream-glib-48d22d2a6ee82d013252ff534af6e34913c710c9.tar.gz
Fix compile with -Wdiscarded-qualifiers
Some distros helpfully force this on for some reason.
Diffstat (limited to 'libappstream-glib/as-stemmer.c')
-rw-r--r--libappstream-glib/as-stemmer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libappstream-glib/as-stemmer.c b/libappstream-glib/as-stemmer.c
index af043c7..ef7ccd6 100644
--- a/libappstream-glib/as-stemmer.c
+++ b/libappstream-glib/as-stemmer.c
@@ -52,7 +52,7 @@ G_DEFINE_TYPE (AsStemmer, as_stemmer, G_TYPE_OBJECT)
*
* Returns: A new refcounted string
**/
-const gchar *
+AsRefString *
as_stemmer_process (AsStemmer *stemmer, const gchar *value)
{
#ifdef HAVE_LIBSTEMMER