diff options
author | SupSuper | 2019-05-09 02:31:38 +0100 |
---|---|---|
committer | Paul Gilbert | 2019-05-09 18:13:10 +1000 |
commit | 03c43f05883b82487401f82a50cce951a4aee30c (patch) | |
tree | bfacdba4b0e1a43e689e402edf4f0ebf07d51139 | |
parent | 889cadaca568fa3b68a647b46cafeefed2abe18b (diff) | |
download | scummvm-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'
-rw-r--r-- | backends/cloud/cloudicon.cpp | 6 |
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(); |