From a2918d6c3e676e2656a87b5a5ee974dc5777eb59 Mon Sep 17 00:00:00 2001 From: Ryan Lortie Date: Mon, 17 Jan 2011 15:17:34 -0500 Subject: [PATCH] Fix some harmless sign compare warnings --- gvdb-reader.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gvdb-reader.c b/gvdb-reader.c index f49ff4e..264e87d 100644 --- a/gvdb-reader.c +++ b/gvdb-reader.c @@ -230,7 +230,7 @@ gvdb_table_check_name (GvdbTable *file, return FALSE; parent = guint32_from_le (item->parent); - if (key_length == 0 && parent == -1) + if (key_length == 0 && parent == 0xffffffffu) return TRUE; if G_LIKELY (parent < file->n_hash_items && this_size > 0) @@ -340,7 +340,7 @@ gvdb_table_list (GvdbTable *file, const guint32_le *list; gchar **strv; guint length; - gint i; + guint i; if ((item = gvdb_table_lookup (file, key, 'L')) == NULL) return NULL; -- 2.7.4