From 16773d27027ab29fde2a50467174bbff60d8ac76 Mon Sep 17 00:00:00 2001 From: Emmanuel Fleury Date: Thu, 10 Sep 2020 18:35:20 +0200 Subject: [PATCH] Fix a signedness problem in glib/tests/date.c MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit glib/tests/date.c:778:17: error: comparison of integer expressions of different signedness: ‘gint’ {aka ‘int’} and ‘long unsigned int’ 778 | for (i = 0; i < G_N_ELEMENTS (check_years); i++) | ^ --- glib/tests/date.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glib/tests/date.c b/glib/tests/date.c index 92f0a7f6e..e49ec3419 100644 --- a/glib/tests/date.c +++ b/glib/tests/date.c @@ -737,7 +737,7 @@ int main (int argc, char** argv) { gchar *path; - gint i; + gsize i; /* Try to get all the leap year cases. */ int check_years[] = {