GCC is never appeased the first try.

This commit is contained in:
Asher Baker 2012-11-05 16:04:12 +00:00
parent fe52823b62
commit 7175b44357

View File

@ -227,7 +227,7 @@ DETOUR_DECL_MEMBER9(CBaseServer__ConnectClient, IClient *, netadr_t &, address,
g_pBaseServer = (CBaseServer *)this;
if (pCookie == NULL || cbCookie < sizeof(uint64))
if (pCookie == NULL || (size_t)cbCookie < sizeof(uint64))
{
RejectConnection(address, iClientChallenge, "#GameUI_ServerRejectInvalidSteamCertLen");
return NULL;