mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-19 23:28:54 +02: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:
@@ -575,7 +575,7 @@ lookup_iface_entry_I (IFaceEntries *entries,
|
|||||||
guint8 *offsets;
|
guint8 *offsets;
|
||||||
guint offset_index;
|
guint offset_index;
|
||||||
IFaceEntry *check;
|
IFaceEntry *check;
|
||||||
int index;
|
gsize index;
|
||||||
IFaceEntry *entry;
|
IFaceEntry *entry;
|
||||||
|
|
||||||
if (entries == NULL)
|
if (entries == NULL)
|
||||||
|
|||||||
Reference in New Issue
Block a user