From 1bdfa12e51c91c0df07b37ae4104d10e599c24c0 Mon Sep 17 00:00:00 2001 From: Colin Finck Date: Wed, 30 Jul 2008 11:12:25 +0000 Subject: [PATCH] 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 --- reactos/include/reactos/wine/list.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactos/include/reactos/wine/list.h b/reactos/include/reactos/wine/list.h index b018a1f216c..b610e5e5ca9 100644 --- a/reactos/include/reactos/wine/list.h +++ b/reactos/include/reactos/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 */