Commit 784ccfdb3675e6524ba277f41889577e4530282b
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 | 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 | 958 | int host_pipe[2]; |
| 959 | 959 | abi_long ret; | ... | ... |