Fix Pool verbose assertion format string on Windows platforms.
This commit is contained in:
@@ -110,7 +110,7 @@ struct Pool : PoolBase {
|
|||||||
*/
|
*/
|
||||||
inline Titem *Get(size_t index)
|
inline Titem *Get(size_t index)
|
||||||
{
|
{
|
||||||
assert_msg(index < this->first_unused, "index: %zu, first_unused: %zu, name: %s", index, this->first_unused, this->name);
|
assert_msg(index < this->first_unused, "index: " PRINTF_SIZE ", first_unused: " PRINTF_SIZE ", name: %s", index, this->first_unused, this->name);
|
||||||
return this->data[index];
|
return this->data[index];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user