mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 23:16:14 +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)
|
gchar **envp)
|
||||||
{
|
{
|
||||||
/* Count the arguments. */
|
/* Count the arguments. */
|
||||||
int argc = 0;
|
gsize argc = 0;
|
||||||
while (argv[argc])
|
while (argv[argc])
|
||||||
++argc;
|
++argc;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user