Index: src/OFAtomic_no_threads.h ================================================================== --- src/OFAtomic_no_threads.h +++ src/OFAtomic_no_threads.h @@ -108,11 +108,11 @@ { return (*p ^= i); } static OF_INLINE bool -OFAtomicIntCompareSwap(volatile int *_Nonnull p, int o, int n) +OFAtomicIntCompareAndSwap(volatile int *_Nonnull p, int o, int n) { if (*p == o) { *p = n; return true; }