summaryrefslogtreecommitdiffstats
path: root/src/HTTPServer/HTTPMessage.h
diff options
context:
space:
mode:
authorTycho <work.tycho+git@gmail.com>2014-04-02 15:36:25 +0200
committerTycho <work.tycho+git@gmail.com>2014-04-02 15:36:25 +0200
commit1f5a4a39f2cd9f63a7e5695689042d3c43b2e83b (patch)
tree34333266e925b76a486ff465bac6b6cd01606dc8 /src/HTTPServer/HTTPMessage.h
parentFixed format string in HTTPConnection (diff)
downloadcuberite-1f5a4a39f2cd9f63a7e5695689042d3c43b2e83b.tar
cuberite-1f5a4a39f2cd9f63a7e5695689042d3c43b2e83b.tar.gz
cuberite-1f5a4a39f2cd9f63a7e5695689042d3c43b2e83b.tar.bz2
cuberite-1f5a4a39f2cd9f63a7e5695689042d3c43b2e83b.tar.lz
cuberite-1f5a4a39f2cd9f63a7e5695689042d3c43b2e83b.tar.xz
cuberite-1f5a4a39f2cd9f63a7e5695689042d3c43b2e83b.tar.zst
cuberite-1f5a4a39f2cd9f63a7e5695689042d3c43b2e83b.zip
Diffstat (limited to 'src/HTTPServer/HTTPMessage.h')
-rw-r--r--src/HTTPServer/HTTPMessage.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/HTTPServer/HTTPMessage.h b/src/HTTPServer/HTTPMessage.h
index c2d310839..dab942136 100644
--- a/src/HTTPServer/HTTPMessage.h
+++ b/src/HTTPServer/HTTPMessage.h
@@ -39,7 +39,7 @@ public:
void AddHeader(const AString & a_Key, const AString & a_Value);
void SetContentType (const AString & a_ContentType) { m_ContentType = a_ContentType; }
- void SetContentLength(int a_ContentLength) { m_ContentLength = a_ContentLength; }
+ void SetContentLength(size_t a_ContentLength) { m_ContentLength = a_ContentLength; }
const AString & GetContentType (void) const { return m_ContentType; }
size_t GetContentLength(void) const { return m_ContentLength; }