mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-15 00:44:19 +09:00
[warnings] fixed -Woverflow
This commit is contained in:
@@ -122,7 +122,7 @@ int TestInterlockedAccess(int argc, char* argv[])
|
||||
|
||||
*Destination = (LONG)0xAABBCCDDL;
|
||||
|
||||
oldValue = InterlockedCompareExchange(Destination, 0xCCDDEEFFL, 0x66778899L);
|
||||
oldValue = InterlockedCompareExchange(Destination, -857870593L, 0x66778899L);
|
||||
|
||||
if (oldValue != (LONG)0xAABBCCDDL)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user