diff options
author | Tycho <work.tycho+git@gmail.com> | 2014-04-02 15:36:25 +0200 |
---|---|---|
committer | Tycho <work.tycho+git@gmail.com> | 2014-04-02 15:36:25 +0200 |
commit | 1f5a4a39f2cd9f63a7e5695689042d3c43b2e83b (patch) | |
tree | 34333266e925b76a486ff465bac6b6cd01606dc8 /src/HTTPServer/HTTPMessage.h | |
parent | Fixed format string in HTTPConnection (diff) | |
download | cuberite-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.h | 2 |
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; } |