1
0

fixed compile

This commit is contained in:
Tycho
2014-06-14 18:19:34 +01:00
parent f6af584efa
commit a2df68b80b
2 changed files with 10 additions and 2 deletions

View File

@@ -19,7 +19,7 @@ class cAllocationPool {
cAllocationPool(std::auto_ptr<cStarvationCallbacks> a_Callbacks) :
m_Callbacks(a_Callbacks)
{
for(int i = 0; i < NumElementsInReserve; i++)
for(size_t i = 0; i < NumElementsInReserve; i++)
{
void * space = malloc(sizeof(T));
if (space == NULL)