Shuting up GCC warnings!
authorsachiel <sachiel>
Fri, 13 Aug 2010 20:40:27 +0000 (20:40 +0000)
committersachiel <sachiel@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Fri, 13 Aug 2010 20:40:27 +0000 (20:40 +0000)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@51098 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/edje_embryo.c

index b265b0b..96e9cb8 100644 (file)
@@ -2368,7 +2368,7 @@ _edje_embryo_fn_get_state_val(Embryo_Program *ep, Embryo_Cell *params)
 
           text = (Edje_Part_Description_Text*) rp->custom->description;
 
-          s = text->text.text.str;
+          s = (char *)text->text.text.str;
           SETSTRALLOCATE(s);
 
           break;
@@ -2400,7 +2400,7 @@ _edje_embryo_fn_get_state_val(Embryo_Program *ep, Embryo_Cell *params)
 
           text = (Edje_Part_Description_Text*) rp->custom->description;
 
-          s = text->text.font.str;
+          s = (char *)text->text.font.str;
           SETSTRALLOCATE(s);
 
           break;
@@ -2415,7 +2415,7 @@ _edje_embryo_fn_get_state_val(Embryo_Program *ep, Embryo_Cell *params)
 
           text = (Edje_Part_Description_Text*) rp->custom->description;
 
-          s = text->text.style.str;
+          s = (char *)text->text.style.str;
           SETSTRALLOCATE(s);
 
           break;