summaryrefslogtreecommitdiff
path: root/src/gui/serverdialog.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/gui/serverdialog.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/gui/serverdialog.cpp')
-rw-r--r--src/gui/serverdialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/serverdialog.cpp b/src/gui/serverdialog.cpp
index 0cfa2d40b..019ea9f1c 100644
--- a/src/gui/serverdialog.cpp
+++ b/src/gui/serverdialog.cpp
@@ -558,7 +558,7 @@ void ServerDialog::logic()
else if (mDownloadStatus == DOWNLOADING_IN_PROGRESS)
{
mDescription->setCaption(strprintf(_("Downloading server list..."
- "%2.2f%%"), mDownloadProgress * 100));
+ "%2.2f%%"), static_cast<double>(mDownloadProgress * 100)));
}
else if (mDownloadStatus == DOWNLOADING_IDLE)
{