summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/thread/ntapi_tt_create_thread.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/thread/ntapi_tt_create_thread.c b/src/thread/ntapi_tt_create_thread.c
index b40af7a..5ee1db0 100644
--- a/src/thread/ntapi_tt_create_thread.c
+++ b/src/thread/ntapi_tt_create_thread.c
@@ -258,8 +258,9 @@ int32_t __stdcall __ntapi_tt_create_thread(nt_thread_params * params)
/**/ if (sizeof(intptr_t) == 4) { /**/
/**/ context.STACK_POINTER_REGISTER -= sizeof(intptr_t); /**/
/**/ parg = (uintptr_t *)context.STACK_POINTER_REGISTER; /**/
-/**/ } else /**/
+/**/ } else { /**/
/**/ parg = &context.FAST_CALL_ARG0; /**/
+/**/ } /**/
/**/ /**/
/**/ /**/
/* write entry-routine argument */