Merge 13159:13510 from trunk
[reactos.git] / reactos / lib / ntdll / rtl / intrlck.c
index 5e91816..49f8b76 100644 (file)
@@ -116,12 +116,11 @@ InterlockedExchange(LPLONG target, LONG value )
  * RETURNS
  *     Prior value of value pointed to by Destination
  */
-PVOID 
-STDCALL 
-InterlockedCompareExchange(
-           PVOID *Destination, 
-           PVOID Exchange,     
-            PVOID Comperand     ) 
+LONG
+STDCALL
+InterlockedCompareExchange(PLONG Destination,
+       LONG Exchange,
+       LONG Comperand)
 {      
        PVOID ret;
        __asm__ ( /* lock for SMP systems */