test-error-helpers: fix warnings with -Wsign-compare

test-error-helpers.c: In function ‘test_error_helpers_connection_error’:
  test-error-helpers.c:36:39: error: comparison of integer expressions of different signedness: ‘guint’ {aka ‘unsigned int’} and ‘gint’ {aka ‘int’} [-Werror=sign-compare]
     36 |       for (i = enum_class->minimum; i <= enum_class->maximum; i++) {        \
        |                                       ^~
This commit is contained in:
Aleksander Morgado
2020-01-31 14:52:49 +01:00
parent 7125a86e04
commit 7075e852ca
+1 -1
View File
@@ -29,7 +29,7 @@
test_error_helpers_## ERROR_SMALL (void) \
{ \
GError *error; \
guint i; \
gint i; \
GEnumClass *enum_class; \
\
enum_class = g_type_class_ref (MM_TYPE_ ## ERROR_CAPS); \