mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 11:26:16 +01:00
Fix signedness warning in glib/tests/markup-collect.c
glib/gtestutils.h:134:96: error: comparison of integer expressions of different signedness: ‘gint’ {aka ‘int’} and ‘GMarkupError’ 134 | if (!err || (err)->domain != dom || (err)->code != c) \ | ^~ glib/tests/markup-collect.c:168:7: note: in expansion of macro ‘g_assert_error’ 168 | g_assert_error (error, G_MARKUP_ERROR, test->error_code); | ^~~~~~~~~~~~~~
This commit is contained in:
parent
93dd614562
commit
6c74ab7fcc
@ -165,7 +165,7 @@ test_collect (gconstpointer d)
|
||||
}
|
||||
else
|
||||
{
|
||||
g_assert_error (error, G_MARKUP_ERROR, test->error_code);
|
||||
g_assert_error (error, G_MARKUP_ERROR, (gint) test->error_code);
|
||||
}
|
||||
|
||||
g_markup_parse_context_free (ctx);
|
||||
|
Loading…
Reference in New Issue
Block a user