mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-04-24 16:16:52 +02: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)
|
int listen_backlog)
|
||||||
{
|
{
|
||||||
GSocket *socket;
|
GSocket *socket;
|
||||||
int i;
|
guint i;
|
||||||
|
|
||||||
if (listener->priv->closed)
|
if (listener->priv->closed)
|
||||||
return;
|
return;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user