wmifs: Replace deprecated caddr_t with void *.
This commit is contained in:
parent
c7834d29fd
commit
90565e05d5
|
@ -957,7 +957,7 @@ void get_ppp_stats(struct ppp_stats *cur)
|
||||||
|
|
||||||
memset(&req, 0, sizeof(req));
|
memset(&req, 0, sizeof(req));
|
||||||
|
|
||||||
req.stats_ptr = (caddr_t) &req.stats;
|
req.stats_ptr = (void *) &req.stats;
|
||||||
|
|
||||||
sprintf(req.ifr__name, "ppp%d", PPP_UNIT);
|
sprintf(req.ifr__name, "ppp%d", PPP_UNIT);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue