edje: fix warning for returning wrong type.

Reviewers: zmike

Reviewed By: zmike

Subscribers: segfaultxavi, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D9530
This commit is contained in:
Cedric BAIL 2019-08-09 08:43:18 -04:00 committed by Mike Blumenkrantz
parent 9e3a046661
commit 7248812a51
1 changed files with 2 additions and 2 deletions

View File

@ -3612,7 +3612,7 @@ _efl_canvas_layout_efl_layout_calc_calc_force(Eo *obj EINA_UNUSED, Edje *ed)
_edje_util_freeze_val = pf2;
}
EOLIAN Eina_Rectangle
EOLIAN Eina_Rect
_efl_canvas_layout_efl_layout_calc_calc_parts_extends(Eo *obj EINA_UNUSED, Edje *ed)
{
Evas_Coord xx1 = INT_MAX, yy1 = INT_MAX;
@ -3649,7 +3649,7 @@ _efl_canvas_layout_efl_layout_calc_calc_parts_extends(Eo *obj EINA_UNUSED, Edje
if ((xx2 - xx1) > 0) w = xx2 - xx1;
if ((yy2 - yy1) > 0) h = yy2 - yy1;
return (Eina_Rectangle) { xx1, yy1, w, h };
return (Eina_Rect) { (Eina_Rectangle) { xx1, yy1, w, h } };
}
EOLIAN Eina_Size2D