include: Fixed LIST_ENTRY macro type casts for win64.

This commit is contained in:
Kai Tietz 2010-08-25 15:14:24 +02:00 committed by Alexandre Julliard
parent 898e17f2af
commit c74f749648
1 changed files with 1 additions and 1 deletions

View File

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