removed a minor warning

This commit is contained in:
erwin.coumans
2011-01-06 02:26:18 +00:00
parent 4c3a31077b
commit 22ff43e388

View File

@@ -564,12 +564,12 @@ public:
if (m_totalSize) if (m_totalSize)
{ {
ptr = m_buffer+m_currentSize; ptr = m_buffer+m_currentSize;
m_currentSize += size; m_currentSize += int(size);
btAssert(m_currentSize<m_totalSize); btAssert(m_currentSize<m_totalSize);
} else } else
{ {
ptr = (unsigned char*)btAlignedAlloc(size,16); ptr = (unsigned char*)btAlignedAlloc(size,16);
m_currentSize += size; m_currentSize += int(size);
} }
return ptr; return ptr;
} }