Fix getSwappedBytes for double.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@237673 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Pawel Bylica 2015-05-19 08:44:15 +00:00
parent df11b54057
commit 4a9771567e

View File

@ -104,7 +104,7 @@ inline float getSwappedBytes(float C) {
return out.f;
}
inline float getSwappedBytes(double C) {
inline double getSwappedBytes(double C) {
union {
uint64_t i;
double d;