diff --git a/common/MD5.hpp b/common/MD5.hpp index 4551f7d..fdc1277 100644 --- a/common/MD5.hpp +++ b/common/MD5.hpp @@ -1,7 +1,6 @@ #ifndef COMMON_MD5_HPP #define COMMON_MD5_HPP -#include #include typedef struct { diff --git a/common/objectalloc/CObjectHeap.cpp b/common/objectalloc/CObjectHeap.cpp index f72bc39..6e4b9c8 100644 --- a/common/objectalloc/CObjectHeap.cpp +++ b/common/objectalloc/CObjectHeap.cpp @@ -69,10 +69,10 @@ void* CObjectHeap::Ptr(uint32_t index, uint32_t objSize, uint32_t heapObjects) { if (index >= heapObjects) { const char* format = "\"%s\", %s = %ld (0x%08X)"; const uint8_t bytes[4] = { - static_cast((index >> 24) & 0xFF), - static_cast((index >> 16) & 0xFF), - static_cast((index >> 8) & 0xFF), - static_cast(index & 0xFF) + (index >> 24) & 0xFF, + (index >> 16) & 0xFF, + (index >> 8) & 0xFF, + index & 0xFF }; if (isprint(bytes[0]) @@ -107,10 +107,10 @@ void CObjectHeap::Delete(uint32_t index, uint32_t objSize, uint32_t heapObjects) if (index >= heapObjects) { const char* format = "\"%s\", %s = %ld (0x%08X)"; const uint8_t bytes[4] = { - static_cast((index >> 24) & 0xFF), - static_cast((index >> 16) & 0xFF), - static_cast((index >> 8) & 0xFF), - static_cast(index & 0xFF) + (index >> 24) & 0xFF, + (index >> 16) & 0xFF, + (index >> 8) & 0xFF, + index & 0xFF }; if (isprint(bytes[0]) && isprint(bytes[1]) && isprint(bytes[2]) && isprint(bytes[3])) {