mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-23 05:29:23 +00:00
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:
parent
df11b54057
commit
4a9771567e
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user