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:
f60a07a
)
e_comp_wl: fix bug detected by static analysis tool
51/141551/1
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 04:25:55 +0000
(13:25 +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 5f5f1c190144b7c636025b6667b5ed5ea93447d2..af038d81dce68b7732c96770916fbb6c4bc06ac9 100644
(file)
--- a/
src/bin/e_comp_wl.c
+++ b/
src/bin/e_comp_wl.c
@@
-5969,9
+5969,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)