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
|
@ -144,7 +144,7 @@ typed_wu(natid from, natid to, s_char *message, int type)
|
|||
tel.tel_length = len;
|
||||
tel.tel_type = type;
|
||||
#if !defined(_WIN32)
|
||||
iov[0].iov_base = (caddr_t)&tel;
|
||||
iov[0].iov_base = &tel;
|
||||
iov[0].iov_len = sizeof(tel);
|
||||
iov[1].iov_base = message;
|
||||
iov[1].iov_len = len;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue