aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--zencore/crc32.cpp2
-rw-r--r--zencore/include/zencore/memory.h2
-rw-r--r--zenserver-test/zenserver-test.cpp8
3 files changed, 8 insertions, 4 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>
diff --git a/zencore/include/zencore/memory.h b/zencore/include/zencore/memory.h
index 040f97025..5a324955d 100644
--- a/zencore/include/zencore/memory.h
+++ b/zencore/include/zencore/memory.h
@@ -53,7 +53,7 @@ public:
inline void Free(void* Ptr) { ZEN_UNUSED(Ptr); /* no-op */ }
ChunkingLinearAllocator(const ChunkingLinearAllocator&) = delete;
- ChunkingLinearAllocator&operator=(const ChunkingLinearAllocator&) = delete;
+ ChunkingLinearAllocator& operator=(const ChunkingLinearAllocator&) = delete;
private:
uint8_t* m_ChunkCursor = nullptr;
diff --git a/zenserver-test/zenserver-test.cpp b/zenserver-test/zenserver-test.cpp
index 008cae27e..455ab2495 100644
--- a/zenserver-test/zenserver-test.cpp
+++ b/zenserver-test/zenserver-test.cpp
@@ -89,7 +89,7 @@ public:
void Get(const std::string_view Server, int Port, const std::string_view Path)
{
ZEN_UNUSED(Port);
-
+
http_parser_init(&m_HttpParser, HTTP_RESPONSE);
m_HttpParser.data = this;
@@ -152,7 +152,11 @@ private:
return 0;
}
int OnMessageBegin() { return 0; }
- int OnBody(const char* Data, size_t Bytes) { ZEN_UNUSED(Data, Bytes); return 0; }
+ int OnBody(const char* Data, size_t Bytes)
+ {
+ ZEN_UNUSED(Data, Bytes);
+ return 0;
+ }
void OnConnected()
{