Commit fc9f8dac authored by Erik de Castro Lopo's avatar Erik de Castro Lopo Committed by Alexandre Julliard

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

parent aa4775ef
......@@ -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 */
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