Try to cast the passed in info to our engine info.
authorChristopher Michael <cp.michael@samsung.com>
Thu, 24 Jan 2013 09:15:56 +0000 (09:15 +0000)
committerChristopher Michael <cpmichael1@comcast.net>
Thu, 24 Jan 2013 09:15:56 +0000 (09:15 +0000)
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83234

src/modules/evas/engines/wayland_shm/evas_engine.c

index e27209c..3617141 100644 (file)
@@ -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;
 }