summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2004-06-08 22:36:14 +0000
committerJose Antonio Ortega Ruiz <jao@gnu.org>2004-06-08 22:36:14 +0000
commit5ef9802c1e25c5577785d42406329b90d182acdc (patch)
treeabbe919e3c3667ffff401f2fc410a693bb93d6a6
parent21830126cfa1badd81b2c6fe1b3e9d0c610c8b0a (diff)
downloadmdk-5ef9802c1e25c5577785d42406329b90d182acdc.tar.gz
mdk-5ef9802c1e25c5577785d42406329b90d182acdc.tar.bz2
minor changes.
-rw-r--r--mixlib/mix_parser.c5
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;