From 20fe1f8daa78f8c3567b8577662b88d7c603b4f6 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Sat, 23 Aug 2008 21:30:06 +0000 Subject: [PATCH] Add debug bit, tweak to use GUINT as correct. svn path=/trunk/; revision=476 --- girepository/girnode.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/girepository/girnode.c b/girepository/girnode.c index b6522d8..ce3e9ba 100644 --- a/girepository/girnode.c +++ b/girepository/girnode.c @@ -1011,6 +1011,8 @@ find_entry_node (GIrModule *module, result = node; + g_debug ("Creating XREF: %s %s", names[0], names[1]); + goto out; } @@ -1204,13 +1206,13 @@ g_ir_node_build_typelib (GIrNode *node, value = g_hash_table_lookup (types, s); if (value) { - blob->offset = GPOINTER_TO_INT (value); + blob->offset = GPOINTER_TO_UINT (value); g_free (s); } else { unique_types_count += 1; - g_hash_table_insert (types, s, GINT_TO_POINTER(*offset2)); + g_hash_table_insert (types, s, GUINT_TO_POINTER(*offset2)); blob->offset = *offset2; switch (type->tag) -- 2.7.4