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:
Emmanuel Fleury 2020-11-14 13:14:25 +01:00
parent f5b2b8132d
commit fcbd9d6d75

View File

@ -179,7 +179,7 @@ test_spawn_async_with_fds (void)
int tnum = 1;
GPtrArray *argv;
char *arg;
int i;
gsize i;
/* Each test has 3 variable parameters: stdin, stdout, stderr */
enum fd_type {