Skip to content

Commit

Permalink
minor fix in allocate_new_pool_arena
Browse files Browse the repository at this point in the history
  • Loading branch information
NotFound committed Dec 1, 2010
1 parent 5c760ac commit 4159775
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gc/fixed_allocator.c
Expand Up @@ -441,7 +441,7 @@ allocate_new_pool_arena(ARGMOD(Pool_Allocator *pool))
pool->lo_arena_ptr = new_arena;

if (pool->hi_arena_ptr < (char *)new_arena + GC_FIXED_SIZE_POOL_SIZE)
pool->hi_arena_ptr = new_arena + GC_FIXED_SIZE_POOL_SIZE;
pool->hi_arena_ptr = (char *)new_arena + GC_FIXED_SIZE_POOL_SIZE;
}

/*
Expand Down

0 comments on commit 4159775

Please sign in to comment.