Fix signedness error in glib/gspawn.c

glib/gspawn.c:2252:16: error: comparison of integer expressions of
  different signedness: ‘int’ and ‘gsize’ {aka ‘long unsigned int’}

 2252 |   if (argc + 2 > argv_buffer_len)
      |                ^
This commit is contained in:
Emmanuel Fleury 2020-09-10 18:10:06 +02:00
parent 33bfae70ac
commit d49586cfa3

View File

@ -2244,7 +2244,7 @@ script_execute (const gchar *file,
gchar **envp)
{
/* Count the arguments. */
int argc = 0;
gsize argc = 0;
while (argv[argc])
++argc;