diff options
-rw-r--r-- | lib/System/Atomic.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/System/Atomic.cpp b/lib/System/Atomic.cpp index fa8a937..e720385 100644 --- a/lib/System/Atomic.cpp +++ b/lib/System/Atomic.cpp @@ -38,7 +38,7 @@ sys::cas_flag sys::CompareAndSwap(volatile sys::cas_flag* ptr, sys::cas_flag new_value, sys::cas_flag old_value) { #if LLVM_MULTITHREADED==0 - T result = *dest; + sys::cas_flag result = *dest; if (result == c) *dest = exc; return result; |