summaryrefslogtreecommitdiffstats
path: root/otherlibs/win32unix/winwait.c
diff options
context:
space:
mode:
Diffstat (limited to 'otherlibs/win32unix/winwait.c')
-rw-r--r--otherlibs/win32unix/winwait.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/otherlibs/win32unix/winwait.c b/otherlibs/win32unix/winwait.c
index 44f34de07..97f889db0 100644
--- a/otherlibs/win32unix/winwait.c
+++ b/otherlibs/win32unix/winwait.c
@@ -43,7 +43,7 @@ value win_waitpid(value vflags, value vpid_req) /* ML */
HANDLE pid_req = (HANDLE) Long_val(vpid_req);
flags = convert_flag_list(vflags, wait_flag_table);
- if (flags & CAML_WNOHANG == 0) {
+ if ((flags & CAML_WNOHANG) == 0) {
if (WaitForSingleObject(pid_req, INFINITE) == WAIT_FAILED) {
_dosmaperr(GetLastError());
uerror("waitpid", Nothing);