mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-04-16 04:28:05 +02: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:
parent
5515dda6e6
commit
be2df3f8b2
@ -175,7 +175,7 @@ g_socket_control_message_deserialize (int level,
|
|||||||
GSocketControlMessage *message;
|
GSocketControlMessage *message;
|
||||||
GType *message_types;
|
GType *message_types;
|
||||||
guint n_message_types;
|
guint n_message_types;
|
||||||
int i;
|
guint i;
|
||||||
|
|
||||||
/* Ensure we know about the built in types */
|
/* Ensure we know about the built in types */
|
||||||
#ifndef G_OS_WIN32
|
#ifndef G_OS_WIN32
|
||||||
|
Loading…
x
Reference in New Issue
Block a user