Cast to double before division during region/coord calculation.
authorSungtaek Hong <sth253.hong@samsung.com>
Fri, 11 Aug 2017 04:50:56 +0000 (13:50 +0900)
committerJaehyun Cho <jae_hyun.cho@samsung.com>
Fri, 11 Aug 2017 04:50:56 +0000 (13:50 +0900)
commit5c0fc3f2f38d21ebaf4d02226579e4adf2e28aea
tree762f9a11f36041ad22fcb2847fb893c673c8004a
parent39c791dcbc02c84fdc1ad67d8f10e1842872c111
Cast to double before division during region/coord calculation.

Summary:
int var devided by int is cast to double after devision.
This might cause wrong calculation result.

Reviewers: cedric, jpeg, Jaehyun_Cho

Reviewed By: Jaehyun_Cho

Differential Revision: https://phab.enlightenment.org/D5079
src/lib/elementary/elm_map.c