* evas: Fix header to build with suncc. Patch from Vincent Torri.

SVN revision: 45185
This commit is contained in:
Cedric BAIL 2010-01-15 12:15:00 +00:00
parent 7d6a8417e9
commit 3cbf825501
1 changed files with 1 additions and 1 deletions

View File

@ -324,7 +324,7 @@ static void prefix##_smart_set(api_type *api) \
if (!prefix##_parent_init) \
{ \
memset(&prefix##_parent_sc, 0, sizeof(parent_type)); \
((Evas_Smart_Class)prefix##_parent_sc).version = EVAS_SMART_CLASS_VERSION; \
((Evas_Smart_Class*)&prefix##_parent_sc)->version = EVAS_SMART_CLASS_VERSION; \
parent_func(&prefix##_parent_sc); \
prefix##_parent_init = 1; \
} \