more cast style consistency

This commit is contained in:
nhmall
2023-11-13 20:31:02 -05:00
parent ee732d4054
commit d064ac2cda
18 changed files with 44 additions and 44 deletions

View File

@@ -483,7 +483,7 @@ maketrap(coordxy x, coordxy y, int typ)
} else {
oldplace = FALSE;
ttmp = newtrap();
(void) memset((genericptr_t)ttmp, 0, sizeof(struct trap));
(void) memset((genericptr_t) ttmp, 0, sizeof(struct trap));
ttmp->ntrap = 0;
ttmp->tx = x;
ttmp->ty = y;