* finalize.c (GC_push_finalizer_structures): Replace (word)&sym to
(word)(&sym).
* typd_mlc.c (GC_add_ext_descriptor): Likewise.
GC_API void GC_CALL GC_push_finalizer_structures(void)
{
- GC_ASSERT((word)&GC_dl_hashtbl.head % sizeof(word) == 0);
- GC_ASSERT((word)&GC_fnlz_roots % sizeof(word) == 0);
+ GC_ASSERT((word)(&GC_dl_hashtbl.head) % sizeof(word) == 0);
+ GC_ASSERT((word)(&GC_fnlz_roots) % sizeof(word) == 0);
# ifndef GC_LONG_REFS_NOT_NEEDED
- GC_ASSERT((word)&GC_ll_hashtbl.head % sizeof(word) == 0);
+ GC_ASSERT((word)(&GC_ll_hashtbl.head) % sizeof(word) == 0);
GC_PUSH_ALL_SYM(GC_ll_hashtbl.head);
# endif
GC_PUSH_ALL_SYM(GC_dl_hashtbl.head);
word ed_size = GC_ed_size;
if (ed_size == 0) {
- GC_ASSERT((word)&GC_ext_descriptors % sizeof(word) == 0);
+ GC_ASSERT((word)(&GC_ext_descriptors) % sizeof(word) == 0);
GC_push_typed_structures = GC_push_typed_structures_proc;
UNLOCK();
new_size = ED_INITIAL_SIZE;