diff options
Diffstat (limited to 'src/threading.cpp')
-rw-r--r-- | src/threading.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/threading.cpp b/src/threading.cpp index c7928c1..acc79d8 100644 --- a/src/threading.cpp +++ b/src/threading.cpp | |||
@@ -350,7 +350,7 @@ static int const gs_prio_remap[] = | |||
350 | 350 | ||
351 | [[nodiscard]] static int select_prio(int prio /* -3..+3 */) | 351 | [[nodiscard]] static int select_prio(int prio /* -3..+3 */) |
352 | { | 352 | { |
353 | if (prio == THREAD_PRIO_DEFAULT) | 353 | if (prio == kThreadPrioDefault) |
354 | prio = 0; | 354 | prio = 0; |
355 | // prio range [-3,+3] was checked by the caller | 355 | // prio range [-3,+3] was checked by the caller |
356 | return gs_prio_remap[prio + 3]; | 356 | return gs_prio_remap[prio + 3]; |