diff options
Diffstat (limited to 'winsup/cygwin/wait.cc')
-rw-r--r-- | winsup/cygwin/wait.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/wait.cc b/winsup/cygwin/wait.cc index 8dd97277e..fca5a3c01 100644 --- a/winsup/cygwin/wait.cc +++ b/winsup/cygwin/wait.cc @@ -69,7 +69,7 @@ wait4 (int intpid, int *status, int options, struct rusage *r) w->rusage = r; sigproc_printf ("calling proc_subproc, pid %d, options %d", w->pid, w->options); - if (!proc_subproc (PROC_WAIT, (DWORD) w)) + if (!proc_subproc (PROC_WAIT, (uintptr_t) w)) { set_errno (ENOSYS); paranoid_printf ("proc_subproc returned 0"); @@ -110,7 +110,7 @@ wait4 (int intpid, int *status, int options, struct rusage *r) break; } - syscall_printf ("%R = wait4(%d, %p, %d, %p)", res, intpid, w->status, options, r); + syscall_printf ("%R = wait4(%d, %y, %d, %p)", res, intpid, w->status, options, r); w->status = -1; return res; } |