mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 15:06:14 +01:00
Fix signedness warning in gio/gsocketlistener.c:g_socket_listener_close()
gio/gsocketlistener.c: In function ‘g_socket_listener_close’: gio/gsocketlistener.c:1019:17: error: comparison of integer expressions of different signedness: ‘int’ and ‘guint’ {aka ‘unsigned int’} 1019 | for (i = 0; i < listener->priv->sockets->len; i++) | ^
This commit is contained in:
parent
a68fbcc002
commit
5af79a84e3
@ -1009,7 +1009,7 @@ void
|
||||
g_socket_listener_close (GSocketListener *listener)
|
||||
{
|
||||
GSocket *socket;
|
||||
int i;
|
||||
guint i;
|
||||
|
||||
g_return_if_fail (G_IS_SOCKET_LISTENER (listener));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user