[ros-diffs] [cfinck] 34952: Daniel Verkamp (daniel.verkamp at 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.
cfinck at svn.reactos.org
cfinck at svn.reactos.org
Wed Jul 30 13:12:25 CEST 2008
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 at 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?rev=34952&r1=34951&r2=34952&view=diff
==============================================================================
--- 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 */
More information about the Ros-diffs
mailing list