diff options
| author | Ulrich Hecht | 2009-07-03 17:09:26 +0200 |
|---|---|---|
| committer | Riku Voipio | 2009-07-08 16:02:27 +0200 |
| commit | 784ccfdb3675e6524ba277f41889577e4530282b (patch) | |
| tree | cf474c35998b2c03e274ad1bfa0177f521b6f6f5 /linux-user/syscall.c | |
| parent | configure: remove bogus linux-user check (diff) | |
| download | qemu-784ccfdb3675e6524ba277f41889577e4530282b.tar.gz qemu-784ccfdb3675e6524ba277f41889577e4530282b.tar.xz qemu-784ccfdb3675e6524ba277f41889577e4530282b.zip | |
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>
Diffstat (limited to 'linux-user/syscall.c')
| -rw-r--r-- | linux-user/syscall.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-user/syscall.c b/linux-user/syscall.c index 6aaf9caf4f..23a42adff5 100644 --- a/linux-user/syscall.c +++ b/linux-user/syscall.c @@ -953,7 +953,7 @@ static abi_long do_pipe2(int host_pipe[], int flags) #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]; abi_long ret; |
