From 2a2ff30c3f813ebeef4c7bf26f827a3c848855f2 Mon Sep 17 00:00:00 2001 From: Jonathan G Rennison Date: Wed, 23 Mar 2016 18:21:54 +0000 Subject: [PATCH] Fix Pool verbose assertion format string on Windows platforms. --- src/core/pool_type.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]; }