diff options
Diffstat (limited to 'src/heretic/p_inter.c')
-rw-r--r-- | src/heretic/p_inter.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/heretic/p_inter.c b/src/heretic/p_inter.c index 0e7b24b8..a68586ee 100644 --- a/src/heretic/p_inter.c +++ b/src/heretic/p_inter.c @@ -164,7 +164,7 @@ boolean P_GiveAmmo(player_t * player, ammotype_t ammo, int count) { return (false); } - if (ammo < 0 || ammo > NUMAMMO) + if ((unsigned int) ammo > NUMAMMO) { I_Error("P_GiveAmmo: bad type %i", ammo); } |