commit | d208fd7bdbea0807bdc270b785844cdab56623cc | [log] [tgz] |
---|---|---|
author | Owen Anderson <resistor@mac.com> | Wed May 20 18:47:53 2009 +0000 |
committer | Owen Anderson <resistor@mac.com> | Wed May 20 18:47:53 2009 +0000 |
tree | f2b87147aab73212c899e747cd50ff1aecef3f9f | |
parent | 3c1eaa0dc2b359997e97514d97a6fdd28e4abd0b [diff] [blame] |
Copy-and-paste-o. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72177 91177308-0d34-0410-b5e6-96231b3b80d8
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 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;