summaryrefslogtreecommitdiff
path: root/libappstream-glib/as-utils.c
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2018-03-08 15:56:52 +0000
committerRichard Hughes <richard@hughsie.com>2018-03-08 15:56:52 +0000
commitddd1aac8da025d95f363cb248cd37fa6d6e20302 (patch)
treee07b285ff86572e1cbce2d0a590353fb493c9fb4 /libappstream-glib/as-utils.c
parentba117f48563d8c65a4e9f7c593b6cb89f17f025a (diff)
downloadappstream-glib-ddd1aac8da025d95f363cb248cd37fa6d6e20302.tar.gz
trivial: Fix up a build warning from a recent commit
Diffstat (limited to 'libappstream-glib/as-utils.c')
-rw-r--r--libappstream-glib/as-utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libappstream-glib/as-utils.c b/libappstream-glib/as-utils.c
index 5516eca..b4e2d8c 100644
--- a/libappstream-glib/as-utils.c
+++ b/libappstream-glib/as-utils.c
@@ -396,7 +396,7 @@ as_utils_spdx_license_tokenize_drop (AsUtilsSpdxHelper *helper)
/* SPDX decided to rename some of the really common license IDs in v3
* which broke a lot of tools that we cannot really fix now */
-static gchar *
+static GString *
as_utils_spdx_license_3to2 (const gchar *license3)
{
GString *license2 = g_string_new (license3);