diff options
author | Cedric BAIL <cedric.bail@free.fr> | 2013-02-16 12:39:22 +0000 |
---|---|---|
committer | Cedric BAIL <cedric.bail@free.fr> | 2013-02-16 12:39:22 +0000 |
commit | 01a1175d7e800c2bc32e93f55f72af43463b85db (patch) | |
tree | 41dde39b15d4ae9995558b21aa5bc5e9fb8bbed0 | |
parent | 3006005314f41dd5168cdf0574120193c979ce22 (diff) | |
download | eina-01a1175d7e800c2bc32e93f55f72af43463b85db.tar.gz |
eina: forgotten backport of 1e916e44f7e2eeb20057299dbceecbe8bf0910be
SVN revision: 83987
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | NEWS | 1 | ||||
-rw-r--r-- | src/include/eina_clist.h | 2 |
3 files changed, 6 insertions, 1 deletions
@@ -406,3 +406,7 @@ 2013-02-07 Cedric Bail * honor tile size in Eina_Tiler. + +2013-02-16 Cedric Bail + + * Fix portability issue on 64bits system for Eina_CList. @@ -9,6 +9,7 @@ Improvements: Fixes: * Prevent denial of service on Eina_Hash function. * Fix map leak in Eina_File infrastructure. + * Fix portability issue on 64bits system for Eina_CList. Changes since Eina 1.7.4: ------------------------- 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" |