eina: improve Eina_Clist support for 64bits system.

This warning are triggered by a cross compilation as previously stated.
This commit is contained in:
Cedric BAIL 2013-02-16 10:54:36 +01:00
parent 74aa601afc
commit 1e916e44f7
3 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2013-02-16 Cedric Bail
* Eina: improved Eina_Clist support for 64bits system.
2013-02-15 Tom Hacohen (TAsn)
* Edje textblock: Improved textblock fit and added support for

1
NEWS
View File

@ -109,6 +109,7 @@ Improvements:
* edje entry : Support &, < and > in preedit string
* eina: Eina_Tiler now take tile size into account.
* edje: reduce memory consumption of Edje program handler.
* eina, evas: improved support for 64bits system.
Fixes:
* Fix a memory leak in ecore_con_dns when using ecore_con_server_connect

View File

@ -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"