mirror of https://github.com/xemu-project/xemu.git
pipe argument should not be signed
pipedes is an address, it should not be signed (breaks for addresses > 0x80000000) Signed-off-by: Ulrich Hecht <uli@suse.de> Signed-off-by: Riku Voipio <riku.voipio@iki.fi>
This commit is contained in:
parent
67ba57f63d
commit
784ccfdb36
|
@ -953,7 +953,7 @@ static abi_long do_pipe2(int host_pipe[], int flags)
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
static abi_long do_pipe(void *cpu_env, int pipedes, int flags)
|
static abi_long do_pipe(void *cpu_env, abi_ulong pipedes, int flags)
|
||||||
{
|
{
|
||||||
int host_pipe[2];
|
int host_pipe[2];
|
||||||
abi_long ret;
|
abi_long ret;
|
||||||
|
|
Loading…
Reference in New Issue