From 98e58d34a16ab997149101cdd6a2fc99e1bde271 Mon Sep 17 00:00:00 2001 From: Christopher Michael Date: Thu, 24 Jan 2013 09:15:56 +0000 Subject: [PATCH] Try to cast the passed in info to our engine info. Signed-off-by: Christopher Michael SVN revision: 83234 --- src/modules/evas/engines/wayland_shm/evas_engine.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/modules/evas/engines/wayland_shm/evas_engine.c b/src/modules/evas/engines/wayland_shm/evas_engine.c index e27209c..3617141 100644 --- a/src/modules/evas/engines/wayland_shm/evas_engine.c +++ b/src/modules/evas/engines/wayland_shm/evas_engine.c @@ -85,6 +85,12 @@ eng_info_free(Evas *eo_evas EINA_UNUSED, void *einfo) static int eng_setup(Evas *eo_evas, void *einfo) { + Evas_Engine_Info_Wayland_Shm *info; + + /* try to cast the engine info to our engine info */ + if (!(info = (Evas_Engine_Info_Wayland_Shm *)einfo)) + return 0; + return 0; } -- 2.7.4