caddr_t is obsolete. Replace by void *, except for struct empfile

member cache, which becomes char * to keep pointer arithmetic simple.
This commit is contained in:
Markus Armbruster 2004-08-23 18:29:44 +00:00
parent 059353e957
commit dcfd251f95
40 changed files with 80 additions and 82 deletions

View file

@ -111,7 +111,7 @@ tran_nuke(void)
snxtitem_xy(&nstr, EF_NUKE, sect.sct_x, sect.sct_y);
#endif
found = 0;
while (nxtitem(&nstr, (caddr_t)&nuke)) {
while (nxtitem(&nstr, &nuke)) {
if (player->owner) {
found = 1;
break;