diff options
Diffstat (limited to 'common/memorypool.cpp')
-rw-r--r-- | common/memorypool.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/memorypool.cpp b/common/memorypool.cpp index 1a9bfe2e29..b947b38306 100644 --- a/common/memorypool.cpp +++ b/common/memorypool.cpp @@ -64,7 +64,7 @@ void MemoryPool::allocPage() { // Allocate a new page page.numChunks = _chunksPerPage; - assert(page.numChunks * _chunkSize < 16*1024*1024); // Refuse to allocate pages bigger than 16 MB + assert(page.numChunks * _chunkSize < 16*1024*1024); // Refuse to allocate pages bigger than 16 MB page.start = ::malloc(page.numChunks * _chunkSize); assert(page.start); |