summaryrefslogtreecommitdiffhomepage
path: root/mixlib
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
commitdbf9abfdc8657b62db7aad6ec868967658197d44 (patch)
treec250efa38d9a30f79e59c81adac060ce48199dac /mixlib
parentc9ec7506c10d4e12778d165e93545342a5faabeb (diff)
downloadmdk-dbf9abfdc8657b62db7aad6ec868967658197d44.tar.gz
mdk-dbf9abfdc8657b62db7aad6ec868967658197d44.tar.bz2
minor changes.
Diffstat (limited to 'mixlib')
-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;