atomic: fix win32 atomic load const warnings
@@ -526,7 +526,7 @@ static __forceinline void _re_atomic_store(
}
static __forceinline unsigned __int64 _re_atomic_load(
- size_t size, void *a)
+ size_t size, const void *a)
{
unsigned __int64 v;
assert(size == 1u || size == 2u || size == 4u || size == 8u);
@@ -591,7 +591,7 @@ static __forceinline void _re_atomic_store(
}
static __forceinline unsigned __int64 _re_atomic_load(
- size_t size, void *a)
+ size_t size, const void *a)
{
unsigned __int64 v;
assert(size == 1u || size == 2u || size == 4u || size == 8u);
