Fix a pointer comparison in an assertion in freelist.c

master
Stephen Dolan 2019-10-21 10:40:19 +01:00 committed by Damien Doligez
parent ea55b8b590
commit e167f5853c
1 changed files with 1 additions and 1 deletions

View File

@ -1000,7 +1000,7 @@ static void bf_check (void)
}else{
CAMLassert (caml_gc_phase != Phase_sweep
|| caml_fl_merge == Val_NULL
|| Val_bp (bf_small_fl[i].merge) < caml_fl_merge);
|| bf_small_fl[i].merge < &Next_small(caml_fl_merge));
}
CAMLassert (*bf_small_fl[i].merge == Val_NULL
|| Color_val (*bf_small_fl[i].merge) == Caml_blue);