summaryrefslogtreecommitdiff
path: root/src/commandhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-01-21 02:38:18 +0300
committerAndrei Karas <akaras@inbox.ru>2012-01-21 02:38:18 +0300
commitdaf84780d386ee122ae4b4bd37b1e918f93fb202 (patch)
treef967cbbf8de1e36aa8c48a556938ef5bf1a9cab9 /src/commandhandler.cpp
parent98dabed4de60bc86522632379f2499aecbae2b70 (diff)
downloadmanaplus-daf84780d386ee122ae4b4bd37b1e918f93fb202.tar.gz
manaplus-daf84780d386ee122ae4b4bd37b1e918f93fb202.tar.bz2
manaplus-daf84780d386ee122ae4b4bd37b1e918f93fb202.tar.xz
manaplus-daf84780d386ee122ae4b4bd37b1e918f93fb202.zip
Fix more warnings.
Diffstat (limited to 'src/commandhandler.cpp')
-rw-r--r--src/commandhandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commandhandler.cpp b/src/commandhandler.cpp
index 0f8df546c..0f1e60a25 100644
--- a/src/commandhandler.cpp
+++ b/src/commandhandler.cpp
@@ -1112,7 +1112,7 @@ void CommandHandler::handleDumpGraphics(const std::string &args A_UNUSED,
str += ",0";
#endif
- str += strprintf(",%f,", Client::getGuiAlpha());
+ str += strprintf(",%f,", static_cast<double>(Client::getGuiAlpha()));
str += config.getBoolValue("adjustPerfomance") ? "1" : "0";
str += config.getBoolValue("alphaCache") ? "1" : "0";
str += config.getBoolValue("enableMapReduce") ? "1" : "0";