Commit e3602380 authored by Daiki Ueno's avatar Daiki Ueno

build: Suppress compiler warnings with -Wdiscarded-qualifiers

parent 0db5a030
......@@ -70,7 +70,7 @@ gkd_login_interaction_constructed (GObject *object)
self->login_available = gkd_login_available (self->session);
if (g_hash_table_contains (self->lookup_fields, XDG_SCHEMA))
if (g_hash_table_contains (self->lookup_fields, (gpointer) XDG_SCHEMA))
self->store_fields = g_hash_table_ref (self->lookup_fields);
else {
GHashTableIter iter;
......@@ -80,7 +80,7 @@ gkd_login_interaction_constructed (GObject *object)
g_hash_table_iter_init (&iter, self->lookup_fields);
while (g_hash_table_iter_next (&iter, &key, &value))
g_hash_table_insert (self->store_fields, key, value);
g_hash_table_insert (self->store_fields, XDG_SCHEMA, GENERIC_SCHEMA_VALUE);
g_hash_table_insert (self->store_fields, (gpointer) XDG_SCHEMA, (gpointer) GENERIC_SCHEMA_VALUE);
}
G_OBJECT_CLASS (gkd_login_interaction_parent_class)->constructed (object);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment