diff options
author | Alexander Tkachev | 2016-06-21 16:58:09 +0600 |
---|---|---|
committer | Alexander Tkachev | 2016-08-24 16:07:55 +0600 |
commit | fa3ea83165d6c378348f61f8daec85f805626dbe (patch) | |
tree | b0714a57eca099237dfe3c5e5018eadba1050873 /backends/networking/sdl_net/getclienthandler.cpp | |
parent | cff183536b62c84b6de8c83c3f249466ae3e75d6 (diff) | |
download | scummvm-rg350-fa3ea83165d6c378348f61f8daec85f805626dbe.tar.gz scummvm-rg350-fa3ea83165d6c378348f61f8daec85f805626dbe.tar.bz2 scummvm-rg350-fa3ea83165d6c378348f61f8daec85f805626dbe.zip |
CLOUD: Fix some warnings
Mostly on format string
Diffstat (limited to 'backends/networking/sdl_net/getclienthandler.cpp')
-rw-r--r-- | backends/networking/sdl_net/getclienthandler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/networking/sdl_net/getclienthandler.cpp b/backends/networking/sdl_net/getclienthandler.cpp index f3d596ee93..0e73a54912 100644 --- a/backends/networking/sdl_net/getclienthandler.cpp +++ b/backends/networking/sdl_net/getclienthandler.cpp @@ -107,7 +107,7 @@ void GetClientHandler::prepareHeaders() { if (!_specialHeaders.contains("Content-Length") && _stream) setHeader("Content-Length", Common::String::format("%u", _stream->size())); - _headers = Common::String::format("HTTP/1.1 %d %s\r\n", _responseCode, responseMessage(_responseCode)); + _headers = Common::String::format("HTTP/1.1 %ld %s\r\n", _responseCode, responseMessage(_responseCode)); for (Common::HashMap<Common::String, Common::String>::iterator i = _specialHeaders.begin(); i != _specialHeaders.end(); ++i) _headers += i->_key + ": " + i->_value + "\r\n"; _headers += "\r\n"; |