diff options
Diffstat (limited to 'src/include/eina_clist.h')
-rw-r--r-- | src/include/eina_clist.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/eina_clist.h b/src/include/eina_clist.h index 4e7f63a..10cd6c7 100644 --- a/src/include/eina_clist.h +++ b/src/include/eina_clist.h @@ -420,7 +420,7 @@ static inline void eina_clist_move_head(Eina_Clist *dst, Eina_Clist *src); */ #undef EINA_CLIST_ENTRY #define EINA_CLIST_ENTRY(elem, type, field) \ - ((type *)((char *)(elem) - (unsigned long)(&((type *)0)->field))) + ((type *)((char *)(elem) - (uintptr_t)(&((type *)0)->field))) #include "eina_inline_clist.x" |