mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-28 22:18:28 +00:00
Readability: remove redundant cast to the same type
This commit is contained in:
@@ -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! */
|
||||
|
Reference in New Issue
Block a user