@ -14,8 +14,9 @@ ViewData::ViewData()
void ViewData::add(QuadTreeNode *node, bool visible)
{
int index = mNumEntries++;
unsigned int index = mNumEntries++;
if (index+1 > mEntries.size())
mEntries.resize(index+1);
Entry& entry = mEntries[index];