Commit cc34e753 authored by Austin English's avatar Austin English Committed by Alexandre Julliard

include: fix a compiler warning on GNU/FreeBSD.

parent 5a244bc8
......@@ -221,9 +221,11 @@ static inline void list_move_head( struct list *dst, struct list *src )
(cursor2) = LIST_ENTRY((cursor)->field.prev, type, field))
/* macros for statically initialized lists */
#undef LIST_INIT
#define LIST_INIT(list) { &(list), &(list) }
/* get pointer to object containing list element */
#undef LIST_ENTRY
#define LIST_ENTRY(elem, type, field) \
((type *)((char *)(elem) - (unsigned long)(&((type *)0)->field)))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment