mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-14 08:24:16 +09:00
winpr: ObjectPool_Return: fix wrong type for new_cap
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user