[warnings] redundant cast
This commit is contained in:
parent
c0a3abfc62
commit
e41f8eb61f
@ -576,7 +576,7 @@ static BOOL winpr_StartThread(WINPR_THREAD* thread)
|
||||
pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_JOINABLE);
|
||||
|
||||
if (thread->dwStackSize > 0)
|
||||
pthread_attr_setstacksize(&attr, (size_t)thread->dwStackSize);
|
||||
pthread_attr_setstacksize(&attr, thread->dwStackSize);
|
||||
|
||||
thread->started = TRUE;
|
||||
reset_event(thread);
|
||||
|
Loading…
Reference in New Issue
Block a user