LIMIT_TO_RANGE_INT macro and various casts.

This commit is contained in:
nhkeni
2022-03-16 17:59:23 -04:00
parent 81b014977d
commit e51026aee1
5 changed files with 13 additions and 4 deletions

View File

@@ -3176,7 +3176,7 @@ dopickup(void)
{
int count, tmpcount, ret;
count = g.command_count;
count = (int) g.command_count;
g.multi = 0; /* always reset */
if ((ret = pickup_checks()) >= 0) {