git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@41885
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
void *a = &tmp.__rbtree;
void *b = &tmp.__in_list;
- return a - b;
+ return (char *)a - (char *)b;
}
static Eina_Rbtree_Direction
int limit;
limit = sizeof (Eina_Fixed_Bitmap_Pool) + mp->item_size * 32;
- delta = a - b;
+ delta = (char *)a - (char *)b;
if (delta > 0)
return 1;
if (pool->bitmask != 0xFFFFFFFF) push_front = EINA_TRUE;
a = pool;
- delta = (ptr - a - sizeof (Eina_Fixed_Bitmap_Pool)) / mp->item_size;
+ delta = ((char *)ptr - (char *)a - sizeof (Eina_Fixed_Bitmap_Pool)) / mp->item_size;
assert(delta >= 0 && delta < 32);