mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 20:23:11 +01:00
fix this harder.
llvm-svn: 119994
This commit is contained in:
parent
040c0a1c3d
commit
44b4aff9ff
@ -62,8 +62,8 @@ inline uint64_t SwapByteOrder_64(uint64_t value) {
|
||||
#elif defined(_MSC_VER) && !defined(_DEBUG)
|
||||
return _byteswap_uint64(value);
|
||||
#else
|
||||
uint64_t Hi = SwapByteOrder(uint32_t(value));
|
||||
uint32_t Lo = SwapByteOrder(uint32_t(value >> 32));
|
||||
uint64_t Hi = SwapByteOrder_32(uint32_t(value));
|
||||
uint32_t Lo = SwapByteOrder_32(uint32_t(value >> 32));
|
||||
return (Hi << 32) | Lo;
|
||||
#endif
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user