Remove a bunch of redundant casts.

This commit is contained in:
Markus Armbruster 2005-06-12 06:31:48 +00:00
parent ee6d72f3b8
commit 4f59fc9967
125 changed files with 417 additions and 432 deletions

View file

@ -174,11 +174,11 @@ main(int argc, char *argv[])
putsect(&sct);
}
}
map = (s_char *)calloc(WORLD_X * WORLD_Y / 2, sizeof(*map));
map = calloc(WORLD_X * WORLD_Y / 2, sizeof(*map));
for (i = 0; i < MAXNOC; i++) {
ef_write(EF_MAP, i, map);
}
map = (s_char *)calloc(WORLD_X * WORLD_Y / 2, sizeof(*map));
map = calloc(WORLD_X * WORLD_Y / 2, sizeof(*map));
for (i = 0; i < MAXNOC; i++) {
ef_write(EF_BMAP, i, map);
}