mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-04-04 06:43:07 +02:00
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:
parent
179dbbde14
commit
99d32c2802
@ -3829,7 +3829,7 @@ g_test_build_filename_va (GTestFileType file_type,
|
|||||||
va_list ap)
|
va_list ap)
|
||||||
{
|
{
|
||||||
const gchar *pathv[16];
|
const gchar *pathv[16];
|
||||||
gint num_path_segments;
|
gsize num_path_segments;
|
||||||
|
|
||||||
if (file_type == G_TEST_DIST)
|
if (file_type == G_TEST_DIST)
|
||||||
pathv[0] = test_disted_files_dir;
|
pathv[0] = test_disted_files_dir;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user