summaryrefslogtreecommitdiffstats
path: root/src/RCONServer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/RCONServer.cpp')
-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;