Commit 1495ccd1 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

winnt.h: Fix MSVC variants of InterlockedIncrement16 and InterlockedDecrement16.

parent bc29521d
......@@ -6966,7 +6966,7 @@ static FORCEINLINE LONG WINAPI InterlockedIncrement( LONG volatile *dest )
static FORCEINLINE short WINAPI InterlockedIncrement16( short volatile *dest )
{
return _InterlockedIncrement16( (long volatile *)dest );
return _InterlockedIncrement16( dest );
}
static FORCEINLINE LONG WINAPI InterlockedDecrement( LONG volatile *dest )
......@@ -6976,7 +6976,7 @@ static FORCEINLINE LONG WINAPI InterlockedDecrement( LONG volatile *dest )
static FORCEINLINE short WINAPI InterlockedDecrement16( short volatile *dest )
{
return _InterlockedDecrement16( (long volatile *)dest );
return _InterlockedDecrement16( dest );
}
static FORCEINLINE LONG WINAPI InterlockedOr( LONG volatile *dest, LONG val )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment