mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-09 02:46:16 +01:00
Fix signedness warnings in tests/refcount/objects.c
tests/refcount/objects.c: In function ‘main’: tests/refcount/objects.c:133:17: error: comparison of integer expressions of different signedness: ‘gint’ {aka ‘int’} and ‘guint’ {aka ‘const unsigned int’} 133 | for (i = 0; i < n_threads; i++) { | ^ tests/refcount/objects.c:149:17: error: comparison of integer expressions of different signedness: ‘gint’ {aka ‘int’} and ‘unsigned int’ 149 | for (i = 0; i < 2 * n_threads; i++) { | ^
This commit is contained in:
parent
3b424d746c
commit
7c69a1d5f6
@ -115,7 +115,7 @@ run_thread (GTest * test)
|
||||
int
|
||||
main (int argc, char **argv)
|
||||
{
|
||||
gint i;
|
||||
guint i;
|
||||
GTest *test1, *test2;
|
||||
GArray *test_threads;
|
||||
const guint n_threads = 5;
|
||||
|
Loading…
Reference in New Issue
Block a user