summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmmanuel Fleury <emmanuel.fleury@u-bordeaux.fr>2019-02-04 10:36:11 +0100
committerEmmanuel Fleury <emmanuel.fleury@u-bordeaux.fr>2019-03-17 19:05:34 +0100
commit99d32c280257a8bcc75b1af683aff4f791cb61dc (patch)
tree6e2bbed21dccbb2dfbb120f0c131bb8ad690a8fa
parent179dbbde14ff0c7cdc39dc579187921b5d401eeb (diff)
downloadglib-99d32c280257a8bcc75b1af683aff4f791cb61dc.tar.gz
Fixing signedness in glib/gtestutils.c
glib/gtestutils.c: In function ‘g_test_build_filename_va’: glib/gtestutils.c:3865:49: error: comparison of integer expressions of different signedness: ‘gint’ {aka ‘int’} and ‘long unsigned int’ [-Werror=sign-compare] for (num_path_segments = 2; num_path_segments < G_N_ELEMENTS (pathv); num_path_segments++) ^
-rw-r--r--glib/gtestutils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/glib/gtestutils.c b/glib/gtestutils.c
index a63d136a0..edf5ba1b5 100644
--- a/glib/gtestutils.c
+++ b/glib/gtestutils.c
@@ -3829,7 +3829,7 @@ g_test_build_filename_va (GTestFileType file_type,
va_list ap)
{
const gchar *pathv[16];
- gint num_path_segments;
+ gsize num_path_segments;
if (file_type == G_TEST_DIST)
pathv[0] = test_disted_files_dir;