mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 11:26:16 +01:00
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:
parent
33bfae70ac
commit
d49586cfa3
@ -2244,7 +2244,7 @@ script_execute (const gchar *file,
|
||||
gchar **envp)
|
||||
{
|
||||
/* Count the arguments. */
|
||||
int argc = 0;
|
||||
gsize argc = 0;
|
||||
while (argv[argc])
|
||||
++argc;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user