winnt.h: Fix MSVC variants of InterlockedIncrement16 and InterlockedDecrement16.
Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
bc29521db5
commit
1495ccd152
|
@ -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 )
|
||||
|
|
Loading…
Reference in New Issue