From c7d1dab1fe8b2f7bb94b1d7e331ea800e39498d3 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Tue, 26 May 2020 13:19:41 -0700 Subject: [PATCH] Rename Linux-only variable. --- src/thread/pthread/SDL_systhread.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/thread/pthread/SDL_systhread.c b/src/thread/pthread/SDL_systhread.c index 700c0a579..d2f204365 100644 --- a/src/thread/pthread/SDL_systhread.c +++ b/src/thread/pthread/SDL_systhread.c @@ -247,8 +247,8 @@ SDL_SYS_SetThreadPriority(SDL_ThreadPriority priority) } #if __LINUX__ - pid_t thread = syscall(SYS_gettid); - return SDL_LinuxSetThreadPriorityAndPolicy(thread, priority, policy); + pid_t linuxTid = syscall(SYS_gettid); + return SDL_LinuxSetThreadPriorityAndPolicy(linuxTid, priority, policy); #else if (priority == SDL_THREAD_PRIORITY_LOW) { sched.sched_priority = sched_get_priority_min(policy);