winpr: ObjectPool_Return: fix wrong type for new_cap

This commit is contained in:
kubistika 2019-07-11 22:12:50 +03:00 committed by akallabeth
parent 367fa69c17
commit e1850cbc6f

View File

@ -74,7 +74,7 @@ void ObjectPool_Return(wObjectPool* pool, void* obj)
if ((pool->size + 1) >= pool->capacity)
{
int new_cap;
size_t new_cap;
void **new_arr;
new_cap = pool->capacity * 2;