Various type and cast bits.

This commit is contained in:
nhkeni
2022-03-16 18:18:52 -04:00
parent e51026aee1
commit a64a666f78
12 changed files with 28 additions and 14 deletions

View File

@@ -1762,7 +1762,7 @@ eatcorpse(struct obj *otmp)
? herbivorous(g.youmonst.data)
: carnivorous(g.youmonst.data))
&& rn2(10)
&& ((rotted < 1) ? TRUE : !rn2(rotted+1)));
&& ((rotted < 1) ? TRUE : !rn2((int)rotted+1)));
const char *pmxnam = food_xname(otmp, FALSE);
if (!strncmpi(pmxnam, "the ", 4))