From 16ae5196c60b8cce75d277554d09a44bde2c7f8e Mon Sep 17 00:00:00 2001 From: Yeongjong Lee Date: Wed, 24 Apr 2019 21:09:53 +0900 Subject: [PATCH] ui.relative_layout: fix incorrect type casting Summary: `temph` can be double type. Reviewers: Jaehyun_Cho Reviewed By: Jaehyun_Cho Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8695 --- src/lib/elementary/efl_ui_relative_layout.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/elementary/efl_ui_relative_layout.c b/src/lib/elementary/efl_ui_relative_layout.c index b3667a1..9e4b052 100644 --- a/src/lib/elementary/efl_ui_relative_layout.c +++ b/src/lib/elementary/efl_ui_relative_layout.c @@ -90,7 +90,7 @@ static void _child_aspect_calc(Efl_Ui_Relative_Layout_Child *child, Eina_Bool axis) { Efl_Ui_Relative_Layout_Calc *calc = &child->calc; - int temph; + double temph; if ((calc->aspect[0] <= 0) || (calc->aspect[1] <= 0)) { -- 2.7.4