Remove one compiler's warning by casting both sides to (void *) in a comparison. Lame, but there you have it.

This commit is contained in:
Michael Graff 1999-08-31 20:55:26 +00:00
parent 37a0c160e3
commit 0fe778098d

View file

@ -28,7 +28,7 @@
(elt)->link.prev = (void *)(-1); \
(elt)->link.next = (void *)(-1); \
} while (0)
#define ISC_LINK_LINKED(elt, link) ((elt)->link.prev != (void *)(-1))
#define ISC_LINK_LINKED(elt, link) ((void *)((elt)->link.prev) != (void *)(-1))
#define ISC_LIST_HEAD(list) ((list).head)
#define ISC_LIST_TAIL(list) ((list).tail)