aboutsummaryrefslogtreecommitdiff
path: root/zencore/crc32.cpp
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2021-09-06 19:06:23 +0200
committerStefan Boberg <[email protected]>2021-09-06 19:06:23 +0200
commit2d1144d21a1c606434a025724e85c23824f0ca35 (patch)
tree570fc126c2084ac4a3b1dee61565f487ae6b3063 /zencore/crc32.cpp
parentMerge branch 'main' of https://github.com/EpicGames/zen (diff)
downloadzen-2d1144d21a1c606434a025724e85c23824f0ca35.tar.xz
zen-2d1144d21a1c606434a025724e85c23824f0ca35.zip
clang-format fixes
Diffstat (limited to 'zencore/crc32.cpp')
-rw-r--r--zencore/crc32.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/zencore/crc32.cpp b/zencore/crc32.cpp
index cd381d49f..d4a3cac57 100644
--- a/zencore/crc32.cpp
+++ b/zencore/crc32.cpp
@@ -418,7 +418,7 @@ static const uint32_t CRCTablesSB8[8][256] = {
0xbd4e1337, 0x71e413a9, 0x7b211ab0, 0xb78b1a2e, 0x39041dcd, 0xf5ae1d53, 0x2c8e0fff, 0xe0240f61, 0x6eab0882, 0xa201081c, 0xa8c40105,
0x646e019b, 0xeae10678, 0x264b06e6}};
-#define BYTESWAP_ORDER32(x) (((x) >> 24) + (((x) >> 8) & 0xff00) + (((x) << 8) & 0xff0000) + ((x) << 24))
+#define BYTESWAP_ORDER32(x) (((x) >> 24) + (((x) >> 8) & 0xff00) + (((x) << 8) & 0xff0000) + ((x) << 24))
#define UE_PTRDIFF_TO_UINT32(argument) static_cast<uint32_t>(argument)
template<typename T>