diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2023-02-13 11:24:13 +0100 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2023-02-13 11:24:13 +0100 |
| commit | 9c8b663d5bc1f30717aa4d87cc63d1c9ebfa1c8e (patch) | |
| tree | 138dc39b708378f56bf0a5a6ef6fa5e99c704b66 /src/wrapped/wrappedlibc.c | |
| parent | 8309b63fb10cba69ef5374f9c2e5416369d84bb2 (diff) | |
| download | box64-9c8b663d5bc1f30717aa4d87cc63d1c9ebfa1c8e.tar.gz box64-9c8b663d5bc1f30717aa4d87cc63d1c9ebfa1c8e.zip | |
Various minor warning fixes
Diffstat (limited to 'src/wrapped/wrappedlibc.c')
| -rwxr-xr-x | src/wrapped/wrappedlibc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wrapped/wrappedlibc.c b/src/wrapped/wrappedlibc.c index 8ee59a30..2d444efd 100755 --- a/src/wrapped/wrappedlibc.c +++ b/src/wrapped/wrappedlibc.c @@ -3005,7 +3005,7 @@ EXPORT int my_clone(x64emu_t* emu, void* fn, void* stack, int flags, void* args, arg->fnc = (uintptr_t)fn; arg->tls = tls; arg->emu = newemu; - if(flags|(CLONE_VM|CLONE_VFORK|CLONE_SETTLS)==flags) // that's difficult to setup, so lets ignore all those flags :S + if((flags|(CLONE_VM|CLONE_VFORK|CLONE_SETTLS))==flags) // that's difficult to setup, so lets ignore all those flags :S flags&=~(CLONE_VM|CLONE_VFORK|CLONE_SETTLS); int64_t ret = clone(clone_fn, (void*)((uintptr_t)mystack+1024*1024), flags, arg, parent, NULL, child); return (uintptr_t)ret; |