diff options
author | Jean-Philippe Andre <jp.andre@samsung.com> | 2017-12-01 11:31:45 +0900 |
---|---|---|
committer | Jean-Philippe Andre <jp.andre@samsung.com> | 2017-12-01 11:32:42 +0900 |
commit | acd2599eba26232e58df2fb7c9d4cc6ba034c1bc (patch) | |
tree | 4dcd525877a10ccb58a81187eb5d5c04924a3920 | |
parent | 089a76876bc7fb2c2a61672d4ce199f5f13aad06 (diff) | |
download | efl-acd2599eba26232e58df2fb7c9d4cc6ba034c1bc.tar.gz |
eo: Use proper cast in EFL_CALLBACKS_ARRAY_DEFINE
This avoids warnings when somehow included from C++.
-rw-r--r-- | src/lib/eo/Eo.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/eo/Eo.h b/src/lib/eo/Eo.h index b3ba90ab88..2536ddc3d3 100644 --- a/src/lib/eo/Eo.h +++ b/src/lib/eo/Eo.h @@ -2009,7 +2009,7 @@ EAPI int efl_callbacks_cmp(const Efl_Callback_Array_Item *a, const Efl_Callback_ { \ memcpy(internal, tmp, sizeof(tmp)); \ 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; \ } |