summaryrefslogtreecommitdiffhomepage
path: root/mixlib/mix_symbol_table.c
diff options
context:
space:
mode:
Diffstat (limited to 'mixlib/mix_symbol_table.c')
-rw-r--r--mixlib/mix_symbol_table.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mixlib/mix_symbol_table.c b/mixlib/mix_symbol_table.c
index f219b81..5153c73 100644
--- a/mixlib/mix_symbol_table.c
+++ b/mixlib/mix_symbol_table.c
@@ -122,7 +122,7 @@ mix_symbol_table_add (mix_symbol_table_t *table,
if ( !g_hash_table_lookup_extended (table, sym, &key, &val) )
{
key = g_strdup (sym);
- g_hash_table_insert (table, key, GINT_TO_POINTER (value));
+ g_hash_table_insert (table, key, GUINT_TO_POINTER (value));
return MIX_SYM_OK;
}
else
@@ -141,7 +141,7 @@ mix_symbol_table_insert (mix_symbol_table_t *table,
if ( !g_hash_table_lookup_extended (table, sym, &key, &val) )
key = g_strdup (sym);
- g_hash_table_insert (table, key, GINT_TO_POINTER (new_value));
+ g_hash_table_insert (table, key, GUINT_TO_POINTER (new_value));
return MIX_SYM_OK;
}