mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-11-02 09:22:16 +01:00
Fix signedness warning in gio//gsocketcontrolmessage.c:g_socket_control_message_deserialize()
gio/gsocketcontrolmessage.c: In function ‘g_socket_control_message_deserialize’:
gio/gsocketcontrolmessage.c:189:17: error: comparison of integer expressions of different signedness: ‘gint’ {aka ‘int’} and ‘guint’ {aka ‘unsigned int’}
189 | for (i = 0; i < n_message_types; i++)
| ^
This commit is contained in:
@@ -175,7 +175,7 @@ g_socket_control_message_deserialize (int level,
|
||||
GSocketControlMessage *message;
|
||||
GType *message_types;
|
||||
guint n_message_types;
|
||||
int i;
|
||||
guint i;
|
||||
|
||||
/* Ensure we know about the built in types */
|
||||
#ifndef G_OS_WIN32
|
||||
|
||||
Reference in New Issue
Block a user