summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorworktycho <work.tycho@gmail.com>2015-01-25 18:07:51 +0100
committerMattes D <github@xoft.cz>2015-01-27 14:53:35 +0100
commit96def00c7c38a947e4c3bd8f1f0109c4b64e691e (patch)
treea2838744f712e50a06785ad9ae1e1a471bb7afb4 /src
parentRemoved cFile::ReplaceFileNameInvalidChars(). (diff)
downloadcuberite-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 'src')
-rw-r--r--src/RCONServer.cpp2
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;