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:
parent
f8e9c3af6b
commit
6149a4f649
1 changed files with 2 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue