mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-27 06:26:15 +01:00
Fix signedness warning in glib/tests/spawn-singlethread.c
glib/tests/spawn-singlethread.c: In function ‘test_spawn_async_with_fds’: glib/tests/spawn-singlethread.c:204:17: error: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ 204 | for (i = 0; i < G_N_ELEMENTS (tests); i++) | ^
This commit is contained in:
parent
f5b2b8132d
commit
fcbd9d6d75
@ -179,7 +179,7 @@ test_spawn_async_with_fds (void)
|
|||||||
int tnum = 1;
|
int tnum = 1;
|
||||||
GPtrArray *argv;
|
GPtrArray *argv;
|
||||||
char *arg;
|
char *arg;
|
||||||
int i;
|
gsize i;
|
||||||
|
|
||||||
/* Each test has 3 variable parameters: stdin, stdout, stderr */
|
/* Each test has 3 variable parameters: stdin, stdout, stderr */
|
||||||
enum fd_type {
|
enum fd_type {
|
||||||
|
Loading…
Reference in New Issue
Block a user