mirror of
https://github.com/bulletphysics/bullet3
synced 2024-12-15 22:20:12 +00:00
removed a minor warning
This commit is contained in:
parent
4c3a31077b
commit
22ff43e388
@ -564,12 +564,12 @@ public:
|
||||
if (m_totalSize)
|
||||
{
|
||||
ptr = m_buffer+m_currentSize;
|
||||
m_currentSize += size;
|
||||
m_currentSize += int(size);
|
||||
btAssert(m_currentSize<m_totalSize);
|
||||
} else
|
||||
{
|
||||
ptr = (unsigned char*)btAlignedAlloc(size,16);
|
||||
m_currentSize += size;
|
||||
m_currentSize += int(size);
|
||||
}
|
||||
return ptr;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user