Elm test dnd: Fixed substraction of void *.

This is not allowed. The pointers need to be cast to char * before doing
pointer arithmetics.
This commit is contained in:
Tom Hacohen 2014-03-12 09:39:10 +00:00
parent 55c065f0cc
commit 59deb51fad
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ static Ecore_Timer *_5s_timeout = NULL;
static int
_item_ptr_cmp(const void *d1, const void *d2)
{
return (d1 - d2);
return ((const char *) d1 - (const char *) d2);
}
static Elm_Genlist_Item_Class *itc1;