Commit c74f7496 authored by Kai Tietz's avatar Kai Tietz Committed by Alexandre Julliard

include: Fixed LIST_ENTRY macro type casts for win64.

parent 898e17f2
......@@ -227,6 +227,6 @@ static inline void list_move_head( struct list *dst, struct list *src )
/* get pointer to object containing list element */
#undef LIST_ENTRY
#define LIST_ENTRY(elem, type, field) \
((type *)((char *)(elem) - (unsigned long)(&((type *)0)->field)))
((type *)((char *)(elem) - (size_t)(&((type *)0)->field)))
#endif /* __WINE_SERVER_LIST_H */
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