Module: wine Branch: master Commit: fc9f8dac17282f8f56d1d0fcb2209837dfb304be URL: http://source.winehq.org/git/wine.git/?a=commit;h=fc9f8dac17282f8f56d1d0fcb2...
Author: Erik de Castro Lopo mle+win@mega-nerd.com Date: Tue Apr 22 22:24:41 2008 +1000
include: Fix "warning: cast from pointer to integer of different size".
---
include/wine/list.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/include/wine/list.h b/include/wine/list.h index b018a1f..b610e5e 100644 --- a/include/wine/list.h +++ b/include/wine/list.h @@ -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 */