Windows warning fixes

This commit is contained in:
Robert Osfield
2011-06-16 15:57:40 +00:00
parent 93d1fedd0b
commit 38a807ae6e
4 changed files with 17 additions and 8 deletions

View File

@@ -344,7 +344,7 @@ int Thread::start() {
pd->threadStartedBlock.reset();
pd->tid.set( (void*)_beginthreadex(NULL,pd->stackSize,ThreadPrivateActions::StartThread,static_cast<void *>(this),0,&ID));
pd->tid.set( (void*)_beginthreadex(NULL,static_cast<unsigned>(pd->stackSize),ThreadPrivateActions::StartThread,static_cast<void *>(this),0,&ID));
pd->uniqueId = (int)ID;