mirror of https://github.com/FreeRDP/FreeRDP
Fixed sign-compare warning
This commit is contained in:
parent
acebd43acf
commit
f39ec7c453
|
@ -189,7 +189,7 @@ BOOL WINAPI winpr_EnterSynchronizationBarrier(LPSYNCHRONIZATION_BARRIER lpBarrie
|
|||
* of processors.
|
||||
*/
|
||||
|
||||
if (spinOnly || (remainingThreads < dwProcessors && !blockOnly))
|
||||
if (spinOnly || (((ULONG)remainingThreads < dwProcessors) && !blockOnly))
|
||||
{
|
||||
DWORD dwSpinCount = lpBarrier->Reserved5;
|
||||
DWORD sp = 0;
|
||||
|
|
Loading…
Reference in New Issue