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
|
@ -70,7 +70,7 @@ nxtsct(register struct nstr_sect *np, struct sctstr *sp)
|
|||
continue;
|
||||
}
|
||||
np->id = sctoff(np->x, np->y);
|
||||
if (!np->read(EF_SECTOR, np->id, (caddr_t)sp))
|
||||
if (!np->read(EF_SECTOR, np->id, sp))
|
||||
continue;
|
||||
if (np->ncond == 0)
|
||||
return 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue