mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-27 07:56:14 +01:00
Fix some harmless sign compare warnings
This commit is contained in:
parent
ba5619ba7f
commit
a2918d6c3e
@ -230,7 +230,7 @@ gvdb_table_check_name (GvdbTable *file,
|
|||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
parent = guint32_from_le (item->parent);
|
parent = guint32_from_le (item->parent);
|
||||||
if (key_length == 0 && parent == -1)
|
if (key_length == 0 && parent == 0xffffffffu)
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
|
||||||
if G_LIKELY (parent < file->n_hash_items && this_size > 0)
|
if G_LIKELY (parent < file->n_hash_items && this_size > 0)
|
||||||
@ -340,7 +340,7 @@ gvdb_table_list (GvdbTable *file,
|
|||||||
const guint32_le *list;
|
const guint32_le *list;
|
||||||
gchar **strv;
|
gchar **strv;
|
||||||
guint length;
|
guint length;
|
||||||
gint i;
|
guint i;
|
||||||
|
|
||||||
if ((item = gvdb_table_lookup (file, key, 'L')) == NULL)
|
if ((item = gvdb_table_lookup (file, key, 'L')) == NULL)
|
||||||
return NULL;
|
return NULL;
|
||||||
|
Loading…
Reference in New Issue
Block a user