diff options
author | Tycho <work.tycho+git@gmail.com> | 2014-04-02 14:10:08 +0200 |
---|---|---|
committer | Tycho <work.tycho+git@gmail.com> | 2014-04-02 14:10:08 +0200 |
commit | 7ece0cc8369a7600ea8667188e83a2cb9ef6570b (patch) | |
tree | 5c9ae7affd9ce0ff2145990456be4d73b1a5f3de /src | |
parent | Fixed Comparison to -1 in HTTPMessage.h (diff) | |
download | cuberite-7ece0cc8369a7600ea8667188e83a2cb9ef6570b.tar cuberite-7ece0cc8369a7600ea8667188e83a2cb9ef6570b.tar.gz cuberite-7ece0cc8369a7600ea8667188e83a2cb9ef6570b.tar.bz2 cuberite-7ece0cc8369a7600ea8667188e83a2cb9ef6570b.tar.lz cuberite-7ece0cc8369a7600ea8667188e83a2cb9ef6570b.tar.xz cuberite-7ece0cc8369a7600ea8667188e83a2cb9ef6570b.tar.zst cuberite-7ece0cc8369a7600ea8667188e83a2cb9ef6570b.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/HTTPServer/HTTPConnection.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/HTTPServer/HTTPConnection.cpp b/src/HTTPServer/HTTPConnection.cpp index b8635d893..6d238f028 100644 --- a/src/HTTPServer/HTTPConnection.cpp +++ b/src/HTTPServer/HTTPConnection.cpp @@ -70,7 +70,7 @@ void cHTTPConnection::Send(const cHTTPResponse & a_Response) void cHTTPConnection::Send(const void * a_Data, size_t a_Size) { ASSERT(m_State == wcsSendingResp); - AppendPrintf(m_OutgoingData, "%x\r\n", a_Size); + AppendPrintf(m_OutgoingData, SIZE_T_FMT "\r\n", a_Size); m_OutgoingData.append((const char *)a_Data, a_Size); m_OutgoingData.append("\r\n"); m_HTTPServer.NotifyConnectionWrite(*this); |