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++)
                                                 ^
This commit is contained in:
Emmanuel Fleury 2019-02-04 10:36:11 +01:00
parent 179dbbde14
commit 99d32c2802

View File

@ -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;