1
0
Fork 0

Fix clang compile error

This commit is contained in:
worktycho 2015-01-25 17:07:51 +00:00 committed by Mattes D
parent 1b9c0f1030
commit 96def00c7c
1 changed files with 1 additions and 1 deletions

View File

@ -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;