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:
Emmanuel Fleury 2020-11-17 11:52:33 +01:00
parent a68fbcc002
commit 5af79a84e3

View File

@ -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));