summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--exynos/fimg2d.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/exynos/fimg2d.h b/exynos/fimg2d.h
index 1aac378d..4785e2f0 100644
--- a/exynos/fimg2d.h
+++ b/exynos/fimg2d.h
@@ -25,7 +25,7 @@
#define G2D_MAX_CMD_LIST_NR 64
#define G2D_PLANE_MAX_NR 2
-#define G2D_DOUBLE_TO_FIXED(d) ((unsigned int)(d) * 65536.0)
+#define G2D_DOUBLE_TO_FIXED(d) ((unsigned int)((d) * 65536.0))
enum e_g2d_color_mode {
/* COLOR FORMAT */