forked from enlightenment/efl
eo: Fix warning when Eo.h is used from C++
This commit is contained in:
parent
3c68a8afc9
commit
ec8fe2a8f3
|
@ -2006,7 +2006,7 @@ EAPI int efl_callbacks_cmp(const Efl_Callback_Array_Item *a, const Efl_Callback_
|
||||||
{ \
|
{ \
|
||||||
memcpy(internal, tmp, sizeof(tmp)); \
|
memcpy(internal, tmp, sizeof(tmp)); \
|
||||||
qsort(internal, EINA_C_ARRAY_LENGTH(internal) - 1, sizeof (internal[0]), \
|
qsort(internal, EINA_C_ARRAY_LENGTH(internal) - 1, sizeof (internal[0]), \
|
||||||
(void*) efl_callbacks_cmp); \
|
(int(*)(const void*,const void*)) efl_callbacks_cmp); \
|
||||||
} \
|
} \
|
||||||
return internal; \
|
return internal; \
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue