aboutsummaryrefslogtreecommitdiff
path: root/linux-user/syscall.c
diff options
context:
space:
mode:
authorUlrich Hecht <uli@suse.de>2009-07-03 17:09:26 +0200
committerRiku Voipio <riku.voipio@iki.fi>2009-07-08 17:02:27 +0300
commit784ccfdb3675e6524ba277f41889577e4530282b (patch)
treecf474c35998b2c03e274ad1bfa0177f521b6f6f5 /linux-user/syscall.c
parent67ba57f63da7cfbc6f34917ff5875f67dfbea9ba (diff)
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.c2
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;