diff --git a/src/common/Logging.h b/src/common/Logging.h index 893d828f7..45a869bc7 100644 --- a/src/common/Logging.h +++ b/src/common/Logging.h @@ -508,7 +508,7 @@ hexstring32(std::basic_ostream<_CharT, _Traits>&os) #define LOGRENDER(Type) \ LOGRENDER_HEADER_BY_PTR(Type) \ { \ - os << hexstring32 << (void*)(value); \ + os << hexstring32 << reinterpret_cast(value); \ if (value) \ os << " -> "#Type"* {" << *value << "}"; \ \