Fix Pool verbose assertion format string on Windows platforms.

This commit is contained in:
Jonathan G Rennison
2016-03-23 18:21:54 +00:00
parent 5359c43ec1
commit 2a2ff30c3f

View File

@@ -110,7 +110,7 @@ struct Pool : PoolBase {
*/
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];
}