Alexandre Julliard pushed to branch master at wine / wine
Commits: 5d14c976 by Joachim Priesner at 2025-04-14T12:29:05+02:00 msvcrt: Concurrency: Fix signed/unsigned comparison.
SchedulerPolicy_SetPolicyValue(ContextPriority, THREAD_PRIORITY_BELOW_NORMAL) would erroneously throw an exception because THREAD_PRIORITY_BELOW_NORMAL == -1 and -1 > 6 when compared as unsigned.
- - - - -
1 changed file:
- dlls/msvcrt/concurrency.c
View it on GitLab: https://gitlab.winehq.org/wine/wine/-/commit/5d14c97623033aaddc73aded0b4d642...