Added cast to fix compiler warning.

This commit is contained in:
Patrick 2023-11-11 00:26:38 +01:00
parent 2b71254a49
commit e87d0d5703

View File

@ -148,7 +148,7 @@ void TAllocation::checkGuardBlock(unsigned char*, unsigned char, const char*) co
// We don't print the assert message. It's here just to be helpful.
snprintf(assertMsg, maxSize, "PoolAlloc: Damage %s %zu byte allocation at 0x%p\n",
locText, size, data());
locText, size, static_cast<const void*>(data())); // @MEWIN - 2023-11-11 - Added cast to fix compiler warning.
assert(0 && "PoolAlloc: Damage in guard block");
}
}