diff options
author | jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-11-02 17:39:59 +0000 |
---|---|---|
committer | jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-11-02 17:39:59 +0000 |
commit | d0303c5654c610d27d19b9e18d20196e9f9ed568 (patch) | |
tree | 3289abe6bb80ee4f1913ac615c1c02adb3efcbce /libstdc++-v3/include | |
parent | 3e715c81ec696dc122ad9f27356bb25e381e5394 (diff) | |
download | gcc-d0303c5654c610d27d19b9e18d20196e9f9ed568.tar.gz |
* include/bits/atomic_0.h (_ATOMIC_CMPEXCHNG_): Use C-style cast.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@166206 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/include')
-rw-r--r-- | libstdc++-v3/include/bits/atomic_0.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libstdc++-v3/include/bits/atomic_0.h b/libstdc++-v3/include/bits/atomic_0.h index cd73e43caef..8daf4160bad 100644 --- a/libstdc++-v3/include/bits/atomic_0.h +++ b/libstdc++-v3/include/bits/atomic_0.h @@ -98,7 +98,7 @@ namespace __atomic0 __i_type __t = *__p; \ if (*__q == __t) \ { \ - *__p = const_cast<__i_type>(__v); \ + *__p = (__i_type)__v; \ __r = true; \ } \ else { *__q = __t; __r = false; } \ |