diff options
-rw-r--r-- | src/lib/evas/canvas/evas_object_box.c | 2 |
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 | |||
512 | static void | 512 | static 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 | } |