Skip to content
Snippets Groups Projects
Commit 4485436e authored by James R.'s avatar James R.
Browse files

InitSpecialUFO: fix -Wsign-compare

parent 2dab274e
No related branches found
No related tags found
No related merge requests found
......@@ -1347,7 +1347,7 @@ static mobj_t *InitSpecialUFO(waypoint_t *start)
if (grandprixinfo.gp && grandprixinfo.specialDamage)
{
ufo->health -= min(4*mobjinfo[MT_SPECIAL_UFO].spawnhealth/10, grandprixinfo.specialDamage/6);
ufo->health -= min(4*(UINT32)mobjinfo[MT_SPECIAL_UFO].spawnhealth/10, grandprixinfo.specialDamage/6);
}
return ufo;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment