mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 01:15:09 +00:00
Daniel Verkamp (daniel.verkamp@gmail.com)
- Sync "list.h" to Wine to fix a pointer to integer cast warning on 64-bit hosts See issue #3579 for more details. svn path=/trunk/; revision=34952
This commit is contained in:
parent
c6d5d68953
commit
1bdfa12e51
1 changed files with 1 additions and 1 deletions
|
@ -225,6 +225,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 */
|
||||||
#define LIST_ENTRY(elem, type, field) \
|
#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 */
|
#endif /* __WINE_SERVER_LIST_H */
|
||||||
|
|
Loading…
Reference in a new issue