diff --git a/src/common/classes/alloc.h b/src/common/classes/alloc.h index 4d7aaa0b1f..487bfb1b77 100644 --- a/src/common/classes/alloc.h +++ b/src/common/classes/alloc.h @@ -166,7 +166,7 @@ private: public: // This is maximum block size which is cached (not allocated directly from OS) - enum RecommendedBufferSize { MAX_MEDUIM_BLOCK_SIZE = 64384 }; // MediumLimits::TOP_LIMIT - 128 + enum RecommendedBufferSize { MAX_MEDIUM_BLOCK_SIZE = 64384 }; // MediumLimits::TOP_LIMIT - 128 static MemoryPool* defaultMemoryManager; diff --git a/src/common/classes/misc/class_test.cpp b/src/common/classes/misc/class_test.cpp index 89a6bb0f56..6d205e5b4b 100644 --- a/src/common/classes/misc/class_test.cpp +++ b/src/common/classes/misc/class_test.cpp @@ -579,8 +579,8 @@ void testAllocator() VERIFY_POOL(pool); VERIFY_POOL(parent); - printf("Allocate max recommended medium buffer (%d bytes): ", MemoryPool::MAX_MEDUIM_BLOCK_SIZE); - void* maxMedium = pool->allocate(MemoryPool::MAX_MEDUIM_BLOCK_SIZE); + printf("Allocate max recommended medium buffer (%d bytes): ", MemoryPool::MAX_MEDIUM_BLOCK_SIZE); + void* maxMedium = pool->allocate(MemoryPool::MAX_MEDIUM_BLOCK_SIZE); printf(" DONE\n"); VERIFY_POOL(pool); VERIFY_POOL(parent);