Fix signedness warning in gio/gsocketlistener.c:g_socket_listener_set_backlog()

gio/gsocketlistener.c: In function ‘g_socket_listener_set_backlog’:
gio/gsocketlistener.c:993:17: error: comparison of integer expressions of different signedness: ‘int’ and ‘guint’ {aka ‘unsigned int’}
  993 |   for (i = 0; i < listener->priv->sockets->len; i++)
      |                 ^
This commit is contained in:
Emmanuel Fleury 2020-11-17 11:51:48 +01:00
parent cd540a228a
commit a68fbcc002

View File

@ -983,7 +983,7 @@ g_socket_listener_set_backlog (GSocketListener *listener,
int listen_backlog)
{
GSocket *socket;
int i;
guint i;
if (listener->priv->closed)
return;