summaryrefslogtreecommitdiffstats
path: root/otherlibs/win32unix/winwait.c
diff options
context:
space:
mode:
authorXavier Leroy <xavier.leroy@inria.fr>2001-06-25 13:07:15 +0000
committerXavier Leroy <xavier.leroy@inria.fr>2001-06-25 13:07:15 +0000
commit45aebab702aefc5d34b3cf61b9435ceb13a0b914 (patch)
tree6ee6d014ede53f727e6d813ca26665f421d98f68 /otherlibs/win32unix/winwait.c
parentedf18f873b3f28f1228589553055776cc70f07b5 (diff)
Parenthesage douteux dans le test de WNOHANG
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3546 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
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);