Skip to content
Snippets Groups Projects
Commit af3674d8 authored by John Kessenich's avatar John Kessenich Committed by GitHub
Browse files

Merge pull request #338 from Nekotekina/fix1

Build: Compilation fix (mingw64)
parents 630dd7da 5dd29c8a
No related branches found
No related tags found
No related merge requests found
......@@ -134,7 +134,7 @@ unsigned int __stdcall EnterGenericThread (void* entry)
void* OS_CreateThread(TThreadEntrypoint entry)
{
return (void*)_beginthreadex(0, 0, EnterGenericThread, entry, 0, 0);
return (void*)_beginthreadex(0, 0, EnterGenericThread, (void*)entry, 0, 0);
}
void OS_WaitForAllThreads(void* threads, int numThreads)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment