提交 784ccfdb 编写于 作者: U Ulrich Hecht 提交者: Riku Voipio

pipe argument should not be signed

pipedes is an address, it should not be signed (breaks for addresses
> 0x80000000)
Signed-off-by: NUlrich Hecht <uli@suse.de>
Signed-off-by: NRiku Voipio <riku.voipio@iki.fi>
上级 67ba57f6
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册