From ef7e7319305f040a47c483b71f2e78da7a1d6149 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 30 Apr 2014 19:54:08 +0300 Subject: Fix code style in other files. --- src/client.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/client.cpp') diff --git a/src/client.cpp b/src/client.cpp index 9b5f2c956..ce4cd081b 100644 --- a/src/client.cpp +++ b/src/client.cpp @@ -1286,7 +1286,7 @@ int Client::gameExec() mSearchHash = Net::Download::adlerBuffer( const_cast(mCurrentServer.hostname.c_str()), - mCurrentServer.hostname.size()); + static_cast(mCurrentServer.hostname.size())); if (mOptions.username.empty() || mOptions.password.empty()) { @@ -2198,7 +2198,7 @@ void Client::initUpdatesDir() if (mUpdateHost.length() < 2) return; - const int sz = mUpdateHost.size(); + const size_t sz = mUpdateHost.size(); // Remove any trailing slash at the end of the update host if (mUpdateHost.at(sz - 1) == '/') mUpdateHost.resize(sz - 1); -- cgit v1.2.3-70-g09d2