diff options
author | Richard Hughes <richard@hughsie.com> | 2017-04-12 08:55:38 +0100 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2017-04-12 08:55:38 +0100 |
commit | 12b25aadb1fe49f7bf8072628ef3e6f653894c9e (patch) | |
tree | 606a1de13dcec45246053988308ec6c96e001486 | |
parent | a7ca77c563fd6898928ed4b083d8b36b477f45cc (diff) | |
download | appstream-glib-12b25aadb1fe49f7bf8072628ef3e6f653894c9e.tar.gz |
trivial: Fix the last warning with -Wdiscarded-qualifiers
-rw-r--r-- | libappstream-glib/as-self-test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libappstream-glib/as-self-test.c b/libappstream-glib/as-self-test.c index c61cc34..29951e8 100644 --- a/libappstream-glib/as-self-test.c +++ b/libappstream-glib/as-self-test.c @@ -5251,7 +5251,7 @@ as_test_utils_unique_id_hash_safe_func (void) /* add to hash table using the unique ID as a key */ hash = g_hash_table_new ((GHashFunc) as_utils_unique_id_hash, (GEqualFunc) as_utils_unique_id_equal); - g_hash_table_insert (hash, "dave", app); + g_hash_table_insert (hash, (gpointer) "dave", app); /* get with exact key */ found = g_hash_table_lookup (hash, "dave"); |