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:
Emmanuel Fleury 2020-11-17 11:50:59 +01:00
parent 887f59ebc0
commit cd540a228a

View File

@ -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++)