Commit 784ccfdb3675e6524ba277f41889577e4530282b

Authored by Ulrich Hecht
Committed by Riku Voipio
1 parent 67ba57f6

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>
Showing 1 changed file with 1 additions and 1 deletions
linux-user/syscall.c
@@ -953,7 +953,7 @@ static abi_long do_pipe2(int host_pipe[], int flags) @@ -953,7 +953,7 @@ static abi_long do_pipe2(int host_pipe[], int flags)
953 #endif 953 #endif
954 } 954 }
955 955
956 -static abi_long do_pipe(void *cpu_env, int pipedes, int flags) 956 +static abi_long do_pipe(void *cpu_env, abi_ulong pipedes, int flags)
957 { 957 {
958 int host_pipe[2]; 958 int host_pipe[2];
959 abi_long ret; 959 abi_long ret;