1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-28 02:30:05 +00:00

Avoided an MSVC warning

This commit is contained in:
jules 2016-02-25 14:49:13 +00:00
parent f8e9c3af6b
commit 6149a4f649

View file

@ -109,7 +109,8 @@ static unsigned int __stdcall threadEntryProc (void* userData)
void Thread::launchThread()
{
unsigned int newThreadId;
threadHandle = (void*) _beginthreadex (0, threadStackSize, &threadEntryProc, this, 0, &newThreadId);
threadHandle = (void*) _beginthreadex (0, (unsigned int) threadStackSize,
&threadEntryProc, this, 0, &newThreadId);
threadId = (ThreadID) (pointer_sized_int) newThreadId;
}