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
|
@ -205,7 +205,7 @@ launch_as(struct plnstr *pp)
|
|||
}
|
||||
goodtarget = 0;
|
||||
snxtitem_dist(&ni, EF_PLANE, sx, sy, 0);
|
||||
while (!goodtarget && nxtitem(&ni, (caddr_t)&plane)) {
|
||||
while (!goodtarget && nxtitem(&ni, &plane)) {
|
||||
if (!plane.pln_own)
|
||||
continue;
|
||||
if (!(plane.pln_flags & PLN_LAUNCHED))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue