Add typedef mmflags_t to assure enough bits for all MM_* flags.

This commit is contained in:
nhkeni
2022-03-17 17:14:12 -04:00
parent f8830e69e2
commit fc5e991b06
8 changed files with 12 additions and 10 deletions

View File

@@ -3024,7 +3024,7 @@ create_particular_creation(struct _create_particular_data* d)
whichpm = &mons[d->which];
}
for (i = 0; i < d->quan; i++) {
long mmflags = NO_MM_FLAGS;
mmflags_nht mmflags = NO_MM_FLAGS;
if (d->monclass != MAXMCLASSES)
whichpm = mkclass(d->monclass, 0);