Fix signedness warning in gio/gdbusdaemon.c:match_new()

gio/gdbusdaemon.c: In function ‘match_new’:
gio/gdbusdaemon.c:449:17: error: comparison of integer expressions of different signedness: ‘int’ and ‘guint’ {aka ‘unsigned int’}
  449 |   for (i = 0; i < elements->len; i++)
      |                 ^
This commit is contained in:
Emmanuel Fleury 2020-11-17 11:26:10 +01:00 committed by Philip Withnall
parent 6d08c2f5ba
commit f412993291

View File

@ -361,7 +361,7 @@ match_new (const char *str)
MatchElement element;
gboolean eavesdrop;
GDBusMessageType type;
int i;
gsize i;
eavesdrop = FALSE;
type = G_DBUS_MESSAGE_TYPE_INVALID;