diff options
| -rw-r--r-- | src/Platform/Win32/Thread.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Platform/Win32/Thread.c b/src/Platform/Win32/Thread.c index f256d87..88b8906 100644 --- a/src/Platform/Win32/Thread.c +++ b/src/Platform/Win32/Thread.c @@ -40,7 +40,7 @@ static int threadInit(BH_Thread *thread, context->callback = callback; context->data = data; - thread->handle = (HANDLE)_beginthreadex(NULL, stack, BH_ThreadRun, context, 0, NULL); + thread->handle = (HANDLE)_beginthreadex(NULL, stack, threadRun, context, 0, NULL); if (!thread->handle) { free(context); |
