From f4129932916979ce90a80c68f62e18bd7b89ac95 Mon Sep 17 00:00:00 2001 From: Emmanuel Fleury Date: Tue, 17 Nov 2020 11:26:10 +0100 Subject: [PATCH] Fix signedness warning in gio/gdbusdaemon.c:match_new() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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++) | ^ --- gio/gdbusdaemon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gio/gdbusdaemon.c b/gio/gdbusdaemon.c index f62b5ce0e..ef902d65a 100644 --- a/gio/gdbusdaemon.c +++ b/gio/gdbusdaemon.c @@ -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;