mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-19 23:28:54 +02:00
Fix signedness warning in gio/gsocketlistener.c:add_sources()
gio/gsocketlistener.c: In function ‘add_sources’:
gio/gsocketlistener.c:612:17: error: comparison of integer expressions of different signedness: ‘int’ and ‘guint’ {aka ‘unsigned int’}
612 | for (i = 0; i < listener->priv->sockets->len; i++)
| ^
This commit is contained in:
@@ -606,7 +606,7 @@ add_sources (GSocketListener *listener,
|
|||||||
GSocket *socket;
|
GSocket *socket;
|
||||||
GSource *source;
|
GSource *source;
|
||||||
GList *sources;
|
GList *sources;
|
||||||
int i;
|
guint i;
|
||||||
|
|
||||||
sources = NULL;
|
sources = NULL;
|
||||||
for (i = 0; i < listener->priv->sockets->len; i++)
|
for (i = 0; i < listener->priv->sockets->len; i++)
|
||||||
|
|||||||
Reference in New Issue
Block a user