summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYeongjong Lee <yj34.lee@samsung.com>2019-04-24 21:09:53 +0900
committerJaehyun Cho <jae_hyun.cho@samsung.com>2019-04-24 21:09:54 +0900
commit5b2b75a7f22a59e99e5b284b3b19bc9a42e981d2 (patch)
tree3c0c5f38930829c3667591b30f896cf95c765a76
parent8c0ab0db425588d6e42a21ee28d8e9d96c32a272 (diff)
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
-rw-r--r--src/lib/elementary/efl_ui_relative_layout.c2
1 files changed, 1 insertions, 1 deletions
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
125_child_aspect_calc(Efl_Ui_Relative_Layout_Child *child, Eina_Bool axis) 125_child_aspect_calc(Efl_Ui_Relative_Layout_Child *child, Eina_Bool axis)
126{ 126{
127 Efl_Ui_Relative_Layout_Calc *calc = &child->calc; 127 Efl_Ui_Relative_Layout_Calc *calc = &child->calc;
128 int temph; 128 double temph;
129 129
130 if ((calc->aspect[0] <= 0) || (calc->aspect[1] <= 0)) 130 if ((calc->aspect[0] <= 0) || (calc->aspect[1] <= 0))
131 { 131 {