diff --git a/vm/primitives.hpp b/vm/primitives.hpp index 36de59d089..fe3a89a991 100644 --- a/vm/primitives.hpp +++ b/vm/primitives.hpp @@ -37,7 +37,7 @@ namespace factor _(callstack_for) \ _(callstack_to_array) \ _(check_datastack) \ - _(clear_samples) \ + _(clear_samples) \ _(clone) \ _(code_blocks) \ _(code_room) \ @@ -91,7 +91,7 @@ namespace factor _(ftell) \ _(full_gc) \ _(fwrite) \ - _(get_samples) \ + _(get_samples) \ _(identity_hashcode) \ _(innermost_stack_frame_executing) \ _(innermost_stack_frame_scan) \ diff --git a/vm/utilities.hpp b/vm/utilities.hpp index 67692d442b..da515d80ce 100755 --- a/vm/utilities.hpp +++ b/vm/utilities.hpp @@ -59,7 +59,7 @@ VM_C_API void *factor_memcpy(void *dst, void *src, size_t len); #define FACTOR_ATOMIC_CAS(ptr, old_val, new_val) \ (InterlockedCompareExchange64( \ - reinterpret_cast(ptr), new_val, old_val) == old_val) + reinterpret_cast(ptr), new_val, old_val) == old_val) #define FACTOR_ATOMIC_ADD(ptr, val) \ InterlockedAdd64(reinterpret_cast(ptr), val) @@ -71,7 +71,7 @@ VM_C_API void *factor_memcpy(void *dst, void *src, size_t len); #define FACTOR_ATOMIC_CAS(ptr, old_val, new_val) \ (InterlockedCompareExchange( \ - reinterpret_cast(ptr), new_val, old_val) == old_val) + reinterpret_cast(ptr), new_val, old_val) == old_val) #define FACTOR_ATOMIC_ADD(ptr, val) \ InterlockedAdd(reinterpret_cast(ptr), val)