From 3f334b78ab4447a37ed40b34c5fdd1aac76d3df7 Mon Sep 17 00:00:00 2001 From: rpj Date: Wed, 29 Jun 2011 05:10:00 +0000 Subject: PTW32_INTERLOCKED_* fixups --- ptw32_InterlockedCompareExchange.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'ptw32_InterlockedCompareExchange.c') 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 -- cgit v1.2.3