Added cast to fix compiler warning.
This commit is contained in:
parent
2b71254a49
commit
e87d0d5703
@ -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.
|
// 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",
|
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");
|
assert(0 && "PoolAlloc: Damage in guard block");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user