Fixed compile error on gcc.

This commit is contained in:
Nicholas Hastings 2012-05-31 07:43:11 -04:00
parent 66220ba56a
commit 6e6655f577

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