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:
parent
059353e957
commit
dcfd251f95
40 changed files with 80 additions and 82 deletions
|
@ -159,7 +159,7 @@ sona(void)
|
|||
}
|
||||
memset(visbuf, 0, (WORLD_Y * (WORLD_X + 1)));
|
||||
snxtitem_dist(&nit, EF_SHIP, ship.shp_x, ship.shp_y, range);
|
||||
while (nxtitem(&nit, (caddr_t)&targ)) {
|
||||
while (nxtitem(&nit, &targ)) {
|
||||
|
||||
if (targ.shp_own == player->cnum || targ.shp_own == 0)
|
||||
continue;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue