diff options
author | worktycho <work.tycho@gmail.com> | 2015-01-25 18:07:51 +0100 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2015-01-27 14:53:35 +0100 |
commit | 96def00c7c38a947e4c3bd8f1f0109c4b64e691e (patch) | |
tree | a2838744f712e50a06785ad9ae1e1a471bb7afb4 /src | |
parent | Removed cFile::ReplaceFileNameInvalidChars(). (diff) | |
download | cuberite-96def00c7c38a947e4c3bd8f1f0109c4b64e691e.tar cuberite-96def00c7c38a947e4c3bd8f1f0109c4b64e691e.tar.gz cuberite-96def00c7c38a947e4c3bd8f1f0109c4b64e691e.tar.bz2 cuberite-96def00c7c38a947e4c3bd8f1f0109c4b64e691e.tar.lz cuberite-96def00c7c38a947e4c3bd8f1f0109c4b64e691e.tar.xz cuberite-96def00c7c38a947e4c3bd8f1f0109c4b64e691e.tar.zst cuberite-96def00c7c38a947e4c3bd8f1f0109c4b64e691e.zip |
Diffstat (limited to '')
-rw-r--r-- | src/RCONServer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/RCONServer.cpp b/src/RCONServer.cpp index a02baf761..685bd92f5 100644 --- a/src/RCONServer.cpp +++ b/src/RCONServer.cpp @@ -222,7 +222,7 @@ void cRCONServer::cConnection::OnReceivedData(const char * a_Data, size_t a_Size m_Link.reset(); return; } - if (Length > static_cast<Int32>(m_Buffer.size() + 4)) + if (Length > static_cast<UInt32>(m_Buffer.size() + 4)) { // Incomplete packet yet, wait for more data to come return; |