summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorCedric BAIL <cedric.bail@free.fr>2019-08-09 08:43:18 -0400
committerMike Blumenkrantz <zmike@samsung.com>2019-08-09 08:48:15 -0400
commit7248812a5155281cfcc3ea9a807734fa5129c63f (patch)
tree58d62cfc2cede84f6e46cc61020ad0a844e1de21 /src/lib
parent9e3a0466617dad31c611cc826fa67f66ac08dce1 (diff)
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
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/edje/edje_util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/edje/edje_util.c b/src/lib/edje/edje_util.c
index 4e3cdba15d..ec6b841985 100644
--- a/src/lib/edje/edje_util.c
+++ b/src/lib/edje/edje_util.c
@@ -3612,7 +3612,7 @@ _efl_canvas_layout_efl_layout_calc_calc_force(Eo *obj EINA_UNUSED, Edje *ed)
3612 _edje_util_freeze_val = pf2; 3612 _edje_util_freeze_val = pf2;
3613} 3613}
3614 3614
3615EOLIAN Eina_Rectangle 3615EOLIAN Eina_Rect
3616_efl_canvas_layout_efl_layout_calc_calc_parts_extends(Eo *obj EINA_UNUSED, Edje *ed) 3616_efl_canvas_layout_efl_layout_calc_calc_parts_extends(Eo *obj EINA_UNUSED, Edje *ed)
3617{ 3617{
3618 Evas_Coord xx1 = INT_MAX, yy1 = INT_MAX; 3618 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
3649 if ((xx2 - xx1) > 0) w = xx2 - xx1; 3649 if ((xx2 - xx1) > 0) w = xx2 - xx1;
3650 if ((yy2 - yy1) > 0) h = yy2 - yy1; 3650 if ((yy2 - yy1) > 0) h = yy2 - yy1;
3651 3651
3652 return (Eina_Rectangle) { xx1, yy1, w, h }; 3652 return (Eina_Rect) { (Eina_Rectangle) { xx1, yy1, w, h } };
3653} 3653}
3654 3654
3655EOLIAN Eina_Size2D 3655EOLIAN Eina_Size2D