raster pushed a commit to branch master. http://git.enlightenment.org/core/enlightenment.git/commit/?id=d8e639a9eac0c757652987fbfebe02b477716df5
commit d8e639a9eac0c757652987fbfebe02b477716df5 Author: Carsten Haitzler (Rasterman) <[email protected]> Date: Sun Feb 12 16:03:38 2017 +0900 e comp object - fix warning where a void cast is as goos as the old one we did cast to Evas_Native_Surface * but this just causes warnings due to the input ptr being char * from memcup. as this will be aligned due to allocation, we're ok, so use a void * cast instead --- src/bin/e_comp_object.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/e_comp_object.c b/src/bin/e_comp_object.c index 0958b5a..25e443a 100644 --- a/src/bin/e_comp_object.c +++ b/src/bin/e_comp_object.c @@ -3866,7 +3866,7 @@ e_comp_object_native_surface_override(Evas_Object *obj, Evas_Native_Surface *ns) if (cw->ec->input_only) return; E_FREE(cw->ns); if (ns) - cw->ns = (Evas_Native_Surface*)eina_memdup((unsigned char*)ns, sizeof(Evas_Native_Surface), 0); + cw->ns = (void *)eina_memdup((unsigned char *)ns, sizeof(Evas_Native_Surface), 0); _e_comp_object_alpha_set(cw); if (cw->native) e_comp_object_native_surface_set(obj, cw->native); --
