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/HTTPFormParser.cpp | |
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 '')
-rw-r--r-- | src/HTTPServer/HTTPFormParser.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/HTTPServer/HTTPFormParser.cpp b/src/HTTPServer/HTTPFormParser.cpp index 14d97bb7d..9ddfb82f1 100644 --- a/src/HTTPServer/HTTPFormParser.cpp +++ b/src/HTTPServer/HTTPFormParser.cpp @@ -52,7 +52,7 @@ cHTTPFormParser::cHTTPFormParser(cHTTPRequest & a_Request, cCallbacks & a_Callba -cHTTPFormParser::cHTTPFormParser(eKind a_Kind, const char * a_Data, int a_Size, cCallbacks & a_Callbacks) : +cHTTPFormParser::cHTTPFormParser(eKind a_Kind, const char * a_Data, size_t a_Size, cCallbacks & a_Callbacks) : m_Callbacks(a_Callbacks), m_Kind(a_Kind), m_IsValid(true) @@ -64,7 +64,7 @@ cHTTPFormParser::cHTTPFormParser(eKind a_Kind, const char * a_Data, int a_Size, -void cHTTPFormParser::Parse(const char * a_Data, int a_Size) +void cHTTPFormParser::Parse(const char * a_Data, size_t a_Size) { if (!m_IsValid) { |