diff options
Diffstat (limited to 'contrib/csup/queue.h')
-rw-r--r-- | contrib/csup/queue.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/csup/queue.h b/contrib/csup/queue.h index 369c013f7546..7ae77bcf0417 100644 --- a/contrib/csup/queue.h +++ b/contrib/csup/queue.h @@ -107,7 +107,7 @@ struct { \ #define STAILQ_LAST(head, type, field) \ (STAILQ_EMPTY((head)) ? \ NULL : \ - ((struct type *) \ + ((struct type *)(void *) \ ((char *)((head)->stqh_last) - __offsetof(struct type, field)))) #undef STAILQ_NEXT |