Fixed sign-compare warnings

This commit is contained in:
Armin Novak 2019-02-07 14:36:50 +01:00
parent 58d5c5f7d1
commit 6e655189c3

View File

@ -151,13 +151,13 @@ static BOOL TestSynchBarrierWithFlags(DWORD dwFlags, DWORD dwThreads, DWORD dwLo
DeleteSynchronizationBarrier(&gBarrier);
if (p.threadCount != dwThreads)
if (p.threadCount != (INT64)dwThreads)
InterlockedIncrement(&gErrorCount);
if (p.trueCount != expectedTrueCount)
if (p.trueCount != (INT64)expectedTrueCount)
InterlockedIncrement(&gErrorCount);
if (p.falseCount != expectedFalseCount)
if (p.falseCount != (INT64)expectedFalseCount)
InterlockedIncrement(&gErrorCount);
printf("%s: error count: %"PRId32"\n", __FUNCTION__, gErrorCount);