diff options
author | Chris Lattner <sabre@nondot.org> | 2010-11-23 04:19:56 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-11-23 04:19:56 +0000 |
commit | e57016ab1ff37dfe7c2564ea9171cc10af52a15d (patch) | |
tree | ae421dd9f0eede423ff84b5630efe2712c7bd6ba | |
parent | 3afc385042fb0d121e9454347f975e4f1a5f5bfd (diff) |
fix a bug I introduced on the other side of the #ifdef
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119993 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/llvm/System/SwapByteOrder.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/System/SwapByteOrder.h b/include/llvm/System/SwapByteOrder.h index 110db341a0..fb033a52ef 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>(uint32_t(value)); - uint32_t Lo = SwapByteOrder<uint32_t>(uint32_t(value >> 32)); + uint64_t Hi = SwapByteOrder(uint32_t(value)); + uint32_t Lo = SwapByteOrder(uint32_t(value >> 32)); return (Hi << 32) | Lo; #endif } |