diff options
Diffstat (limited to 'src/core/pool_func.hpp')
-rw-r--r-- | src/core/pool_func.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/pool_func.hpp b/src/core/pool_func.hpp index 4648f50d1..5569addbd 100644 --- a/src/core/pool_func.hpp +++ b/src/core/pool_func.hpp @@ -121,7 +121,7 @@ DEFINE_POOL_METHOD(inline void *)::AllocateItem(size_t size, size_t index) item = (Titem *)MallocT<byte>(size); } this->data[index] = item; - item->index = (uint)index; + item->index = (Tindex)(uint)index; return item; } |