aboutsummaryrefslogtreecommitdiff
path: root/backends/networking
diff options
context:
space:
mode:
authorAlexander Tkachev2016-06-21 16:58:09 +0600
committerAlexander Tkachev2016-08-24 16:07:55 +0600
commitfa3ea83165d6c378348f61f8daec85f805626dbe (patch)
treeb0714a57eca099237dfe3c5e5018eadba1050873 /backends/networking
parentcff183536b62c84b6de8c83c3f249466ae3e75d6 (diff)
downloadscummvm-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')
-rw-r--r--backends/networking/sdl_net/getclienthandler.cpp2
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";