diff options
author | Richard Hughes <richard@hughsie.com> | 2017-03-15 16:50:28 +0000 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2017-03-15 16:51:50 +0000 |
commit | 48d22d2a6ee82d013252ff534af6e34913c710c9 (patch) | |
tree | c2e86bf6c38cf9839669694dc153829ebb45cea4 /libappstream-glib/as-provide.c | |
parent | 0320abd7ea10e5576d98fd4bf5f16e43ae22a057 (diff) | |
download | appstream-glib-48d22d2a6ee82d013252ff534af6e34913c710c9.tar.gz |
Fix compile with -Wdiscarded-qualifiers
Some distros helpfully force this on for some reason.
Diffstat (limited to 'libappstream-glib/as-provide.c')
-rw-r--r-- | libappstream-glib/as-provide.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libappstream-glib/as-provide.c b/libappstream-glib/as-provide.c index ea43a05..0f79998 100644 --- a/libappstream-glib/as-provide.c +++ b/libappstream-glib/as-provide.c @@ -326,7 +326,7 @@ as_provide_node_parse (AsProvide *provide, GNode *node, } else { priv->kind = as_provide_kind_from_string (as_node_get_name (node)); } - as_ref_string_assign (&priv->value, as_node_get_data (node)); + as_ref_string_assign (&priv->value, as_node_get_data_as_refstr (node)); return TRUE; } |