Fixed build
authorSam Lantinga <slouken@libsdl.org>
Mon, 23 Apr 2018 22:17:56 -0700
changeset 119533f40e902e8f8
parent 11952 d82e6e63c632
child 11954 bc2aba33ae1f
Fixed build
src/thread/pthread/SDL_systhread.c
     1.1 --- a/src/thread/pthread/SDL_systhread.c	Mon Apr 23 22:07:56 2018 -0700
     1.2 +++ b/src/thread/pthread/SDL_systhread.c	Mon Apr 23 22:17:56 2018 -0700
     1.3 @@ -299,7 +299,7 @@
     1.4          int max_priority = sched_get_priority_max(policy);
     1.5          sched.sched_priority = (min_priority + (max_priority - min_priority) / 2);
     1.6          if (priority == SDL_THREAD_PRIORITY_HIGH) {
     1.7 -            sched.sched_priority += (max_priority - min_priority) / 4);
     1.8 +            sched.sched_priority += ((max_priority - min_priority) / 4);
     1.9          }
    1.10      }
    1.11      if (pthread_setschedparam(thread, policy, &sched) != 0) {