mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-11-01 08:52:18 +01: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;
|
||||
GSource *source;
|
||||
GList *sources;
|
||||
int i;
|
||||
guint i;
|
||||
|
||||
sources = NULL;
|
||||
for (i = 0; i < listener->priv->sockets->len; i++)
|
||||
|
||||
Reference in New Issue
Block a user