include: Fixed LIST_ENTRY macro type casts for win64.
This commit is contained in:
parent
898e17f2af
commit
c74f749648
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue