aboutsummaryrefslogtreecommitdiff
path: root/src/tests
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2020-01-14 10:19:20 +0100
committerAleksander Morgado <aleksander@aleksander.es>2020-01-31 14:52:49 +0100
commit7075e852caabb164979a1192bfeda550bdd70f4f (patch)
tree080a453b03de775f7a6cab01925d3a161feeba42 /src/tests
parent7125a86e0488320449767fcacbad5c7ca2c9c719 (diff)
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++) { \ | ^~
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/test-error-helpers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/test-error-helpers.c b/src/tests/test-error-helpers.c
index 88af6283..228dfc02 100644
--- a/src/tests/test-error-helpers.c
+++ b/src/tests/test-error-helpers.c
@@ -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); \