Merge pull request #338 from Nekotekina/fix1
Build: Compilation fix (mingw64)
This commit is contained in:
commit
af3674d831
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue