diff --git a/vm/code_heap.cpp b/vm/code_heap.cpp index 77aa7ae2876..ad507c2e78f 100644 --- a/vm/code_heap.cpp +++ b/vm/code_heap.cpp @@ -3,7 +3,7 @@ namespace factor { code_heap::code_heap(cell size) { - if (size > ((uint64_t)1 << (sizeof(cell) * 8 - 5))) + if (size > ((uint64_t)1 << (sizeof(cell) * 8 - 6))) fatal_error("Heap too large", size); seg = new segment(align_page(size), true); if (!seg)