mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-03-15 20:25:12 +01:00
Fix signedness warning in gobject/gtype.c:lookup_iface_entry_I()
gobject/gtype.c: In function ‘lookup_iface_entry_I’: gobject/gtype.c:599:17: error: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ 599 | if (index < IFACE_ENTRIES_N_ENTRIES (entries)) | ^ gobject/gatomicarray.h:51:8: note: in definition of macro ‘G_ATOMIC_ARRAY_DO_TRANSACTION’ 51 | {_C_;} \ | ^~~
This commit is contained in:
parent
fa8a39c6c6
commit
f6e234fdb6
@ -575,7 +575,7 @@ lookup_iface_entry_I (IFaceEntries *entries,
|
||||
guint8 *offsets;
|
||||
guint offset_index;
|
||||
IFaceEntry *check;
|
||||
int index;
|
||||
gsize index;
|
||||
IFaceEntry *entry;
|
||||
|
||||
if (entries == NULL)
|
||||
|
Loading…
x
Reference in New Issue
Block a user