Try to cast the passed in info to our engine info.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 83234
This commit is contained in:
Christopher Michael 2013-01-24 09:15:56 +00:00 committed by Christopher Michael
parent 57bb76834d
commit 98e58d34a1
1 changed files with 6 additions and 0 deletions

View 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;
}