aboutsummaryrefslogtreecommitdiff
path: root/backends/cloud
diff options
context:
space:
mode:
authorSupSuper2019-05-09 02:31:38 +0100
committerPaul Gilbert2019-05-09 18:13:10 +1000
commit03c43f05883b82487401f82a50cce951a4aee30c (patch)
treebfacdba4b0e1a43e689e402edf4f0ebf07d51139 /backends/cloud
parent889cadaca568fa3b68a647b46cafeefed2abe18b (diff)
downloadscummvm-rg350-03c43f05883b82487401f82a50cce951a4aee30c.tar.gz
scummvm-rg350-03c43f05883b82487401f82a50cce951a4aee30c.tar.bz2
scummvm-rg350-03c43f05883b82487401f82a50cce951a4aee30c.zip
CLOUD: Fix MSVC warnings
Fixes warning C4305: truncation from 'double' to 'float'
Diffstat (limited to 'backends/cloud')
-rw-r--r--backends/cloud/cloudicon.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/backends/cloud/cloudicon.cpp b/backends/cloud/cloudicon.cpp
index 2adc7460d2..fcac8566fa 100644
--- a/backends/cloud/cloudicon.cpp
+++ b/backends/cloud/cloudicon.cpp
@@ -27,9 +27,9 @@
namespace Cloud {
-const float CloudIcon::ALPHA_SPEED = 0.0005;
-const float CloudIcon::ALPHA_MAX = 1;
-const float CloudIcon::ALPHA_MIN = 0.6;
+const float CloudIcon::ALPHA_SPEED = 0.0005f;
+const float CloudIcon::ALPHA_MAX = 1.f;
+const float CloudIcon::ALPHA_MIN = 0.6f;
CloudIcon::CloudIcon() {
initIcons();