summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/evas/canvas/evas_object_box.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/evas/canvas/evas_object_box.c b/src/lib/evas/canvas/evas_object_box.c
index c060013395..4f1f6f7b1a 100644
--- a/src/lib/evas/canvas/evas_object_box.c
+++ b/src/lib/evas/canvas/evas_object_box.c
@@ -512,7 +512,7 @@ _evas_box_layout_set(Eo *o, Evas_Object_Box_Data *priv, Evas_Object_Box_Layout c
512static void 512static void
513_fixed_point_divide_and_decompose_integer(int dividend, int divisor, int *int_part, int *frac_part) 513_fixed_point_divide_and_decompose_integer(int dividend, int divisor, int *int_part, int *frac_part)
514{ 514{
515 int quotient = (long long)(dividend << 16) / divisor; 515 int quotient = ((long long)dividend << 16) / divisor;
516 *frac_part = quotient & 0xffff; 516 *frac_part = quotient & 0xffff;
517 *int_part = quotient >> 16; 517 *int_part = quotient >> 16;
518} 518}