Imported Upstream version 1.64.0
[platform/upstream/boost.git] / boost / align / detail / assume_aligned_clang.hpp
index d57cf4f..4c7159f 100644 (file)
@@ -1,17 +1,16 @@
 /*
-(c) 2015 Glen Joseph Fernandes
-<glenjofe -at- gmail.com>
+Copyright 2015 Glen Joseph Fernandes
+(glenjofe@gmail.com)
 
-Distributed under the Boost Software
-License, Version 1.0.
-http://boost.org/LICENSE_1_0.txt
+Distributed under the Boost Software License, Version 1.0.
+(http://www.boost.org/LICENSE_1_0.txt)
 */
 #ifndef BOOST_ALIGN_DETAIL_ASSUME_ALIGNED_CLANG_HPP
 #define BOOST_ALIGN_DETAIL_ASSUME_ALIGNED_CLANG_HPP
 
 #if __has_builtin(__builtin_assume_aligned)
 #define BOOST_ALIGN_ASSUME_ALIGNED(p, n) \
-(p) = (__typeof__(p))(__builtin_assume_aligned((p), (n)))
+(p) = static_cast<__typeof__(p)>(__builtin_assume_aligned((p), (n)))
 #else
 #define BOOST_ALIGN_ASSUME_ALIGNED(p, n)
 #endif