mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-03-27 18:10:03 +01:00
tests/testglib.c: In function ‘gnode_test’: tests/testglib.c:302:34: error: comparison of integer expressions of different signedness: ‘char’ and ‘guint’ {aka ‘unsigned int’} 302 | g_assert (P2C (node->data) == ('C' + i)); | ^~ glib/gmacros.h:941:25: note: in definition of macro ‘G_LIKELY’ 941 | #define G_LIKELY(expr) (expr) | ^~~~ tests/testglib.c:302:7: note: in expansion of macro ‘g_assert’ 302 | g_assert (P2C (node->data) == ('C' + i)); | ^~~~~~~~ tests/testglib.c:306:76: error: comparison of integer expressions of different signedness: ‘gint’ {aka ‘int’} and ‘guint’ {aka ‘unsigned int’} 306 | g_assert (g_node_child_position (node_G, g_node_nth_child (node_G, i)) == i); | ^~ glib/gmacros.h:941:25: note: in definition of macro ‘G_LIKELY’ 941 | #define G_LIKELY(expr) (expr) | ^~~~ tests/testglib.c:306:5: note: in expansion of macro ‘g_assert’ 306 | g_assert (g_node_child_position (node_G, g_node_nth_child (node_G, i)) == i); | ^~~~~~~~ tests/testglib.c: In function ‘test_arrays’: tests/testglib.c:1316:41: error: comparison of integer expressions of different signedness: ‘gint’ {aka ‘int’} and ‘guint’ {aka ‘unsigned int’} 1316 | if (g_array_index (garray, gint, i) != i) | ^~ tests/testglib.c:1324:41: error: comparison of integer expressions of different signedness: ‘gint’ {aka ‘int’} and ‘guint’ {aka ‘unsigned int’} 1324 | if (g_array_index (garray, gint, i) != (100 - i - 1)) | ^~