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: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:
parent
887f59ebc0
commit
cd540a228a
@ -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++)
|
||||
|
Loading…
Reference in New Issue
Block a user