diff --git a/ocaml/runtime/shared_heap.c b/ocaml/runtime/shared_heap.c index 3cea32ef914..ca8e95771bf 100644 --- a/ocaml/runtime/shared_heap.c +++ b/ocaml/runtime/shared_heap.c @@ -875,7 +875,7 @@ static void compact_update_block(header_t* p) if (tag == Cont_tag) { value stk = Field(Val_hp(p), 0); if (Ptr_val(stk)) { - caml_scan_stack(&compact_update_value, 0, NULL, Ptr_val(stk), 0); + caml_scan_stack(&compact_update_value, 0, NULL, Ptr_val(stk), 0, NULL); } } else { uintnat offset = 0;