mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-26 05:56:14 +01:00
Fix signedness warning in glib/tests/fileutils.c
glib/gtestutils.h:134:96: error: comparison of integer expressions of different signedness: ‘gint’ {aka ‘int’} and ‘GFileError’ 134 | if (!err || (err)->domain != dom || (err)->code != c) \ | ^~ glib/tests/fileutils.c:1072:15: note: in expansion of macro ‘g_assert_error’ 1072 | g_assert_error (error, G_FILE_ERROR, tests[i].expected_error); | ^~~~~~~~~~~~~~
This commit is contained in:
parent
019c6746db
commit
dfa4907072
@ -976,7 +976,7 @@ test_set_contents_full (void)
|
||||
gboolean use_strlen;
|
||||
|
||||
gboolean expected_success;
|
||||
GFileError expected_error;
|
||||
gint expected_error;
|
||||
}
|
||||
tests[] =
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user