aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/llvm/System/SwapByteOrder.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/System/SwapByteOrder.h b/include/llvm/System/SwapByteOrder.h
index fb033a5..70a6f4d 100644
--- a/include/llvm/System/SwapByteOrder.h
+++ b/include/llvm/System/SwapByteOrder.h
@@ -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
}