diff options
author | madmaxoft <github@xoft.cz> | 2014-04-01 16:36:00 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2014-04-01 16:36:00 +0200 |
commit | 1795cca5522476006d33d0c276e27a50659c867a (patch) | |
tree | c4abcc1ac701bbaf092a729a093058601aae1e79 /src/HTTPServer/HTTPConnection.h | |
parent | Removed the exit-time-destructors flag from clang. (diff) | |
download | cuberite-1795cca5522476006d33d0c276e27a50659c867a.tar cuberite-1795cca5522476006d33d0c276e27a50659c867a.tar.gz cuberite-1795cca5522476006d33d0c276e27a50659c867a.tar.bz2 cuberite-1795cca5522476006d33d0c276e27a50659c867a.tar.lz cuberite-1795cca5522476006d33d0c276e27a50659c867a.tar.xz cuberite-1795cca5522476006d33d0c276e27a50659c867a.tar.zst cuberite-1795cca5522476006d33d0c276e27a50659c867a.zip |
Diffstat (limited to '')
-rw-r--r-- | src/HTTPServer/HTTPConnection.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/HTTPServer/HTTPConnection.h b/src/HTTPServer/HTTPConnection.h index 5b8103554..0ad409c51 100644 --- a/src/HTTPServer/HTTPConnection.h +++ b/src/HTTPServer/HTTPConnection.h @@ -51,7 +51,7 @@ public: void Send(const cHTTPResponse & a_Response); /** Sends the data as the response (may be called multiple times) */ - void Send(const void * a_Data, int a_Size); + void Send(const void * a_Data, size_t a_Size); /** Sends the data as the response (may be called multiple times) */ void Send(const AString & a_Data) { Send(a_Data.data(), a_Data.size()); } @@ -87,7 +87,7 @@ protected: /** Number of bytes that remain to read for the complete body of the message to be received. Valid only in wcsRecvBody */ - int m_CurrentRequestBodyRemaining; + size_t m_CurrentRequestBodyRemaining; // cSocketThreads::cCallback overrides: |