From cc1e7302f3dbe53e561ea8547559c7a99d31f29e Mon Sep 17 00:00:00 2001 From: Emmanuel Fleury Date: Tue, 17 Nov 2020 23:53:10 +0100 Subject: [PATCH] Fix signedness warning in gio/tests/converter-stream.c:test_expander() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit gio/tests/converter-stream.c: In function ‘test_expander’: gio/tests/converter-stream.c:356:17: error: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ 356 | for (i = 0; i < sizeof(unexpanded_data); i++) | ^ --- gio/tests/converter-stream.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gio/tests/converter-stream.c b/gio/tests/converter-stream.c index a00a9bd38..2c2a4ed01 100644 --- a/gio/tests/converter-stream.c +++ b/gio/tests/converter-stream.c @@ -297,7 +297,7 @@ test_expander (void) GConverter *expander; GConverter *converter; GError *error; - int i; + gsize i; expander = g_expander_converter_new ();