diff options
Diffstat (limited to 'ptw32_InterlockedCompareExchange.c')
-rw-r--r-- | ptw32_InterlockedCompareExchange.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ptw32_InterlockedCompareExchange.c b/ptw32_InterlockedCompareExchange.c index 2a42b22..df0c0cc 100644 --- a/ptw32_InterlockedCompareExchange.c +++ b/ptw32_InterlockedCompareExchange.c @@ -49,10 +49,10 @@ * We now use this version wherever possible so we can inline it. */ -PTW32_INTERLOCKED_LONG WINAPI -ptw32_InterlockedCompareExchange (PTW32_INTERLOCKED_LPLONG location, - PTW32_INTERLOCKED_LONG value, - PTW32_INTERLOCKED_LONG comparand) +PTW32_INTERLOCKED_VALUE WINAPI +ptw32_InterlockedCompareExchange (PTW32_INTERLOCKED_PTR location, + PTW32_INTERLOCKED_VALUE value, + PTW32_INTERLOCKED_VALUE comparand) { #if defined(__WATCOMC__) @@ -60,7 +60,7 @@ ptw32_InterlockedCompareExchange (PTW32_INTERLOCKED_LPLONG location, #pragma disable_message (200) #endif - PTW32_INTERLOCKED_LONG result; + PTW32_INTERLOCKED_VALUE result; /* * Using the LOCK prefix on uni-processor machines is significantly slower |