diff options
author | rpj <rpj> | 2011-06-29 05:10:00 +0000 |
---|---|---|
committer | rpj <rpj> | 2011-06-29 05:10:00 +0000 |
commit | 3f334b78ab4447a37ed40b34c5fdd1aac76d3df7 (patch) | |
tree | 18dee585760e0b4d84efe15647bb5b630621cc7f /ptw32_InterlockedCompareExchange.c | |
parent | 26ed1ebeb95caec8d733a6a91e71e31312a8eb06 (diff) |
PTW32_INTERLOCKED_* fixups
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 |