-
Emmanuel Fleury authored
gio/gfileinfo.c: In function ‘g_file_info_remove_attribute’: gio/gfileinfo.c:706:9: error: comparison of integer expressions of different signedness: ‘int’ and ‘guint’ {aka ‘unsigned int’} 706 | if (i < info->attributes->len && | ^ Fix signedness warning in gio/gfileinfo.c:g_file_info_create_value() gio/gfileinfo.c: In function ‘g_file_info_create_value’: gio/gfileinfo.c:1084:9: error: comparison of integer expressions of different signedness: ‘int’ and ‘guint’ {aka ‘unsigned int’} 1084 | if (i < info->attributes->len && | ^ Fix signedness warning in gio/gfileinfo.c:matcher_matches_id() gio/gfileinfo.c: In function ‘matcher_matches_id’: gio/gfileinfo.c:2624:21: error: comparison of integer expressions of different signedness: ‘int’ and ‘guint’ {aka ‘unsigned int’} 2624 | for (i = 0; i < matcher->sub_matchers->len; i++) | ^ Fix signedness warnings in gio/gfileinfo.c:g_file_attribute_matcher_enumerate_namespace() gio/gfileinfo.c: In function ‘g_file_attribute_matcher_enumerate_namespace’: gio/gfileinfo.c:2713:21: error: comparison of integer expressions of different signedness: ‘int’ and ‘guint’ {aka ‘unsigned int’} 2713 | for (i = 0; i < matcher->sub_matchers->len; i++) | ^ gio/gfileinfo.c:2715:27: error: comparison of integer expressions of different signedness: ‘guint32’ {aka ‘unsigned int’} and ‘int’ 2715 | if (sub_matchers[i].id == ns_id) | ^~ Fix signedness warning in gio/gfileinfo.c:g_file_attribute_matcher_enumerate_next() gio/gfileinfo.c: In function ‘g_file_attribute_matcher_enumerate_next’: ../glib.git/gio/gfileinfo.c:2752:13: error: comparison of integer expressions of different signedness: ‘int’ and ‘guint’ {aka ‘unsigned int’} [-Werror=sign-compare] 2752 | if (i < matcher->sub_matchers->len) | ^
dd995ca5