From 5b2b75a7f22a59e99e5b284b3b19bc9a42e981d2 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 827b3d601c..491c52f8af 100644 --- a/src/lib/elementary/efl_ui_relative_layout.c +++ b/src/lib/elementary/efl_ui_relative_layout.c @@ -125,7 +125,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)) {