projects
/
platform
/
upstream
/
enlightenment.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
267c88b
)
e_comp_wl: fix bug detected by static analysis tool
author
Doyoun Kang
<doyoun.kang@samsung.com>
Tue, 1 Aug 2017 04:25:55 +0000
(13:25 +0900)
committer
Doyoun Kang
<doyoun.kang@samsung.com>
Tue, 1 Aug 2017 05:30:18 +0000
(14:30 +0900)
Change-Id: Ic99b533aa6e6705ac71ade566a81db2d2445af82
src/bin/e_comp_wl.c
patch
|
blob
|
history
diff --git
a/src/bin/e_comp_wl.c
b/src/bin/e_comp_wl.c
index afe2dcabe32ca8d0d499e07eefbf00358c1de783..85cb473f7b0f0b045986ac3617df17e7ed21394f 100644
(file)
--- a/
src/bin/e_comp_wl.c
+++ b/
src/bin/e_comp_wl.c
@@
-6125,9
+6125,9
@@
_e_comp_wl_buffer_coord_get(int width, int height, int transform, int scale)
if (transform & 0x4)
{
- e_util_transform_matrix_translate(&m, -(width / 2), 0, 0);
+ e_util_transform_matrix_translate(&m, -(
(double)
width / 2), 0, 0);
e_util_transform_matrix_flip_x(&m);
- e_util_transform_matrix_translate(&m, width / 2, 0, 0);
+ e_util_transform_matrix_translate(&m,
(double)
width / 2, 0, 0);
}
switch (transform & 0x3)