From 871fa848dfa6c5eb159572b78ef8ec8b1d53035e Mon Sep 17 00:00:00 2001 From: kaetemi Date: Fri, 20 Jun 2014 17:53:38 +0200 Subject: [PATCH] Compile fix --- code/nel/src/misc/object_arena_allocator.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/nel/src/misc/object_arena_allocator.cpp b/code/nel/src/misc/object_arena_allocator.cpp index 8084b4ac9..5fba66005 100644 --- a/code/nel/src/misc/object_arena_allocator.cpp +++ b/code/nel/src/misc/object_arena_allocator.cpp @@ -68,7 +68,7 @@ void *CObjectArenaAllocator::alloc(uint size) if (size >= _MaxAllocSize) { // use standard allocator - nlctassert(NL_DEFAULT_MEMORY_ALIGNMENT > sizeof(uint)); + nlctassert(NL_DEFAULT_MEMORY_ALIGNMENT >= sizeof(uint)); uint8 *block = (uint8 *)aligned_malloc(NL_DEFAULT_MEMORY_ALIGNMENT + size, NL_DEFAULT_MEMORY_ALIGNMENT); //new uint8[size + sizeof(uint)]; // an additionnal uint is needed to store size of block if (!block) return NULL; #ifdef NL_DEBUG