include: Fix "warning: cast from pointer to integer of different size".

This commit is contained in:
Erik de Castro Lopo 2008-04-22 22:24:41 +10:00 committed by Alexandre Julliard
parent aa4775ef94
commit fc9f8dac17
1 changed files with 1 additions and 1 deletions

View File

@ -225,6 +225,6 @@ static inline void list_move_head( struct list *dst, struct list *src )
/* get pointer to object containing list element */
#define LIST_ENTRY(elem, type, field) \
((type *)((char *)(elem) - (unsigned int)(&((type *)0)->field)))
((type *)((char *)(elem) - (unsigned long)(&((type *)0)->field)))
#endif /* __WINE_SERVER_LIST_H */