projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ba5619b
)
Fix some harmless sign compare warnings
author
Ryan Lortie
<desrt@desrt.ca>
Mon, 17 Jan 2011 20:17:34 +0000
(15:17 -0500)
committer
Ryan Lortie
<desrt@desrt.ca>
Mon, 17 Jan 2011 20:19:14 +0000
(15:19 -0500)
gvdb-reader.c
patch
|
blob
|
history
diff --git
a/gvdb-reader.c
b/gvdb-reader.c
index
f49ff4e
..
264e87d
100644
(file)
--- 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;
+ g
u
int i;
if ((item = gvdb_table_lookup (file, key, 'L')) == NULL)
return NULL;