diff options
-rw-r--r-- | src/thread/nt32/clone.c | 2 | ||||
-rw-r--r-- | src/thread/nt64/clone.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/thread/nt32/clone.c b/src/thread/nt32/clone.c index 12d7e5e..9c5a8a2 100644 --- a/src/thread/nt32/clone.c +++ b/src/thread/nt32/clone.c @@ -59,7 +59,7 @@ int __clone( pfn_clone = (__sys_clone *)(__syscall_vtbl[SYS_clone]); - if (flags == CLONE_VM|CLONE_VFORK|SIGCHLD) { + if (flags == (CLONE_VM|CLONE_VFORK|SIGCHLD)) { regs.sbase = 0; regs.slimit = 0; regs.sbottom = 0; diff --git a/src/thread/nt64/clone.c b/src/thread/nt64/clone.c index 6f11d17..002d709 100644 --- a/src/thread/nt64/clone.c +++ b/src/thread/nt64/clone.c @@ -63,7 +63,7 @@ hidden int __clone( pfn_clone = (__sys_clone *)(__syscall_vtbl[SYS_clone]); - if (flags == CLONE_VM|CLONE_VFORK|SIGCHLD) { + if (flags == (CLONE_VM|CLONE_VFORK|SIGCHLD)) { regs.sbase = 0; regs.slimit = 0; regs.sbottom = 0; |