summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/HttpServer.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/HttpServer.cc b/src/HttpServer.cc
index 23af486..357bb26 100644
--- a/src/HttpServer.cc
+++ b/src/HttpServer.cc
@@ -221,7 +221,7 @@ void Balau::HttpWorker::sendError(int error, const char * msg, const char * deta
"Content-Type: text/html; charset=UTF-8\r\n"
"Connection: keep-alive\r\n"
"Server: %s\r\n"
-"Content-Length: %lli\r\n",
+"Content-Length: %" PRIu64 "\r\n",
error, errorMsg, m_server->getServerName().to_charp(), length);
for (String & str : extraHeaders)
headers += str + "\r\n";