mirror of
				https://gitlab.gnome.org/GNOME/glib.git
				synced 2025-10-31 08:22:16 +01: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:
		| @@ -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; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user