mirror of
https://github.com/isc-projects/bind9.git
synced 2026-07-15 20:14:16 -04:00
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:
parent
37a0c160e3
commit
0fe778098d
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue