mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-09 19:06:15 +01:00
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:
parent
cd540a228a
commit
a68fbcc002
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user