diff --git a/src/core/pool_type.hpp b/src/core/pool_type.hpp index b73323c831..52b946c225 100644 --- a/src/core/pool_type.hpp +++ b/src/core/pool_type.hpp @@ -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]; }