A few fixes for pointer qualifiers (const, volatile) warnings.
diff --git a/include/winbase.h b/include/winbase.h
index 9a86490..aeee6a0 100644
--- a/include/winbase.h
+++ b/include/winbase.h
@@ -2284,7 +2284,7 @@
: "=a" (ret) : "r" (dest), "r" (xchg), "0" (compare) : "memory" );
return ret;
#else
- return (PVOID)InterlockedCompareExchange( (PLONG)dest, (LONG)xchg, (LONG)compare );
+ return (PVOID)InterlockedCompareExchange( (LONG volatile*)dest, (LONG)xchg, (LONG)compare );
#endif
}
@@ -2296,7 +2296,7 @@
: "=r" (ret) :"r" (dest), "0" (val) : "memory" );
return ret;
#else
- return (PVOID)InterlockedExchange( (PLONG)dest, (LONG)val );
+ return (PVOID)InterlockedExchange( (LONG volatile*)dest, (LONG)val );
#endif
}