Author: cfinck Date: Wed Jul 30 06:12:25 2008 New Revision: 34952
URL: http://svn.reactos.org/svn/reactos?rev=34952&view=rev Log: 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.
Modified: trunk/reactos/include/reactos/wine/list.h
Modified: trunk/reactos/include/reactos/wine/list.h URL: http://svn.reactos.org/svn/reactos/trunk/reactos/include/reactos/wine/list.h... ============================================================================== --- trunk/reactos/include/reactos/wine/list.h [iso-8859-1] (original) +++ trunk/reactos/include/reactos/wine/list.h [iso-8859-1] Wed Jul 30 06:12:25 2008 @@ -225,6 +225,6 @@
/* 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 */