| |
_hd_hh_del = &((delptr)->hh); \
|
| |
if ((delptr) == ELMT_FROM_HH((head)->hh.tbl,(head)->hh.tbl->tail)) { \
|
| |
(head)->hh.tbl->tail = \
|
| - |
(UT_hash_handle*)((char*)((delptr)->hh.prev) + \
|
| + |
(UT_hash_handle*)((ptrdiff_t*)((delptr)->hh.prev) + \
|
| |
(head)->hh.tbl->hho); \
|
| |
} \
|
| |
if ((delptr)->hh.prev) { \
|
| - |
((UT_hash_handle*)((char*)((delptr)->hh.prev) + \
|
| + |
((UT_hash_handle*)((ptrdiff_t)((delptr)->hh.prev) + \
|
| |
(head)->hh.tbl->hho))->next = (delptr)->hh.next; \
|
| |
} else { \
|
| |
DECLTYPE_ASSIGN(head,(delptr)->hh.next); \
|
| |
} \
|
| |
if (_hd_hh_del->next) { \
|
| - |
((UT_hash_handle*)((char*)_hd_hh_del->next + \
|
| + |
((UT_hash_handle*)((ptrdiff_t)_hd_hh_del->next + \
|
| |
(head)->hh.tbl->hho))->prev = \
|
| |
_hd_hh_del->prev; \
|
| |
} \
|