summaryrefslogtreecommitdiffstats
path: root/source/core/slang-http.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/core/slang-http.cpp')
-rw-r--r--source/core/slang-http.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/core/slang-http.cpp b/source/core/slang-http.cpp
index bb5994635..3da22ba9c 100644
--- a/source/core/slang-http.cpp
+++ b/source/core/slang-http.cpp
@@ -158,7 +158,7 @@ void HTTPHeader::reset()
void HTTPHeader::append(StringBuilder& out) const
{
// Output the content length
- out << g_contentLength << ": " << m_contentLength << "\r\n";
+ out << g_contentLength << ": " << SlangSizeT(m_contentLength) << "\r\n";
// If either is set construct a content type
if (m_mimeType.getLength() || m_encoding.getLength())