diff options
-rw-r--r-- | mixlib/mix_parser.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mixlib/mix_parser.c b/mixlib/mix_parser.c index cae7ab9..897ef7b 100644 --- a/mixlib/mix_parser.c +++ b/mixlib/mix_parser.c @@ -182,12 +182,13 @@ update_future_refs_value_ (mix_parser_t *parser, const gchar *name, mix_short_t value, gboolean remove) { GSList *list = NULL; + gpointer *plist = (gpointer *)(&list); gpointer key; guint line = 0; + g_assert (parser != NULL && name != NULL); - if ( g_hash_table_lookup_extended (parser->future_refs, name, &key, - (gpointer *)(&list)) ) + if ( g_hash_table_lookup_extended (parser->future_refs, name, &key, plist) ) { GSList *tmp = list; ins_node_ *node; |