quiet a new warning after pull request #1119

hack.c
.\hack.c(1607): warning C4018: '<': signed/unsigned mismatch
This commit is contained in:
nhmall
2023-11-06 07:37:34 -05:00
parent 62ea71bd6b
commit 1538b401e9

View File

@@ -1604,7 +1604,7 @@ void
impact_disturbs_zombies(struct obj *obj, boolean violent) impact_disturbs_zombies(struct obj *obj, boolean violent)
{ {
/* if object won't make a noticeable impact, let buried zombies rest */ /* if object won't make a noticeable impact, let buried zombies rest */
if (obj->owt < (violent ? 10 : 100) || is_flimsy(obj)) if (obj->owt < (violent ? 10U : 100U) || is_flimsy(obj))
return; return;
disturb_buried_zombies(obj->ox, obj->oy); disturb_buried_zombies(obj->ox, obj->oy);