* clang support

This commit is contained in:
Tim Angus 2011-10-21 22:48:53 +00:00
parent f9cde509b2
commit 675e7a641a
9 changed files with 19 additions and 14 deletions

View file

@ -219,7 +219,7 @@ void RE_AddRefEntityToScene( const refEntity_t *ent ) {
}
return;
}
if ( ent->reType < 0 || ent->reType >= RT_MAX_REF_ENTITY_TYPE ) {
if ( (int)ent->reType < 0 || ent->reType >= RT_MAX_REF_ENTITY_TYPE ) {
ri.Error( ERR_DROP, "RE_AddRefEntityToScene: bad reType %i", ent->reType );
}