[warnings] redundant cast

This commit is contained in:
akallabeth 2024-10-21 17:06:23 +02:00
parent c0a3abfc62
commit e41f8eb61f
No known key found for this signature in database
GPG Key ID: A49454A3FC909FD5

View File

@ -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);