Fixed compile error on gcc.

This commit is contained in:
Nicholas Hastings 2012-05-31 07:43:11 -04:00
parent 36f5200abc
commit 3f249c2e93

View File

@ -832,7 +832,7 @@ cell_t CHalfLife2::EntityToReference(CBaseEntity *pEntity)
CBaseEntity *CHalfLife2::ReferenceToEntity(cell_t entRef)
{
if (entRef == INVALID_EHANDLE_INDEX)
if ((unsigned)entRef == INVALID_EHANDLE_INDEX)
{
return NULL;
}