summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2017-02-12 16:03:38 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2017-02-12 16:25:35 +0900
commitd8e639a9eac0c757652987fbfebe02b477716df5 (patch)
tree8c173fadde7c15c5742bb7ad584eba6d23d7bc0a
parent26b68f8c7e43621187d3303eb23238c81713e270 (diff)
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
-rw-r--r--src/bin/e_comp_object.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/e_comp_object.c b/src/bin/e_comp_object.c
index 0958b5aa3..25e443a23 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)
3866 if (cw->ec->input_only) return; 3866 if (cw->ec->input_only) return;
3867 E_FREE(cw->ns); 3867 E_FREE(cw->ns);
3868 if (ns) 3868 if (ns)
3869 cw->ns = (Evas_Native_Surface*)eina_memdup((unsigned char*)ns, sizeof(Evas_Native_Surface), 0); 3869 cw->ns = (void *)eina_memdup((unsigned char *)ns, sizeof(Evas_Native_Surface), 0);
3870 _e_comp_object_alpha_set(cw); 3870 _e_comp_object_alpha_set(cw);
3871 if (cw->native) 3871 if (cw->native)
3872 e_comp_object_native_surface_set(obj, cw->native); 3872 e_comp_object_native_surface_set(obj, cw->native);