diff --git a/Userland/Libraries/LibJS/Heap/Heap.h b/Userland/Libraries/LibJS/Heap/Heap.h index 8d7d32298f..c36bc34539 100644 --- a/Userland/Libraries/LibJS/Heap/Heap.h +++ b/Userland/Libraries/LibJS/Heap/Heap.h @@ -112,7 +112,7 @@ private: } size_t m_max_allocations_between_gc { 10000 }; - size_t m_allocations_since_last_gc { false }; + size_t m_allocations_since_last_gc { 0 }; bool m_should_collect_on_every_allocation { false };