diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-04-30 19:54:08 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-04-30 19:54:08 +0300 |
commit | ef7e7319305f040a47c483b71f2e78da7a1d6149 (patch) | |
tree | 14ac10427d7c94288fcb198db5277455754589ae /src/client.cpp | |
parent | 12389c8441c748996962412201af9e21d66f9e55 (diff) | |
download | plus-ef7e7319305f040a47c483b71f2e78da7a1d6149.tar.gz plus-ef7e7319305f040a47c483b71f2e78da7a1d6149.tar.bz2 plus-ef7e7319305f040a47c483b71f2e78da7a1d6149.tar.xz plus-ef7e7319305f040a47c483b71f2e78da7a1d6149.zip |
Fix code style in other files.
Diffstat (limited to 'src/client.cpp')
-rw-r--r-- | src/client.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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<char*>(mCurrentServer.hostname.c_str()), - mCurrentServer.hostname.size()); + static_cast<int>(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); |