include PtoAtomHashEntryAdjust to reduce casts

This commit is contained in:
Vitor Santos Costa
2008-09-18 17:59:16 +01:00
parent 20e8924bba
commit bcb6edfb8a
3 changed files with 11 additions and 2 deletions

View File

@@ -1065,9 +1065,9 @@ restore_codes(void)
Yap_heap_regs->logdb_erased_marker->ClPred =
PtoPredAdjust(Yap_heap_regs->logdb_erased_marker->ClPred);
Yap_heap_regs->hash_chain =
(AtomHashEntry *)PtoHeapCellAdjust((CELL *)(Yap_heap_regs->hash_chain));
PtoAtomHashEntryAdjust(Yap_heap_regs->hash_chain);
Yap_heap_regs->wide_hash_chain =
(AtomHashEntry *)PtoHeapCellAdjust((CELL *)(Yap_heap_regs->wide_hash_chain));
PtoAtomHashEntryAdjust(Yap_heap_regs->wide_hash_chain);
}