Readability: remove redundant cast to the same type

This commit is contained in:
Sylvain Becker 2019-10-30 15:13:55 +01:00
parent bab0be855d
commit 2ebaea723d
14 changed files with 23 additions and 23 deletions

View file

@ -113,7 +113,7 @@ SDL_SYS_CreateThread(SDL_Thread * thread, void *args)
/* Set caller-requested stack size. Otherwise: use the system default. */
if (thread->stacksize) {
pthread_attr_setstacksize(&type, (size_t) thread->stacksize);
pthread_attr_setstacksize(&type, thread->stacksize);
}
/* Create the thread and go! */