diff options
Diffstat (limited to 'usr.sbin/ppp')
-rw-r--r-- | usr.sbin/ppp/bundle.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ppp/bundle.c b/usr.sbin/ppp/bundle.c index 48c2a68..137888b 100644 --- a/usr.sbin/ppp/bundle.c +++ b/usr.sbin/ppp/bundle.c @@ -526,11 +526,11 @@ bundle_DescriptorRead(struct fdescriptor *d, struct bundle *bundle, if (FD_ISSET(bundle->dev.fd, fdset)) { struct tun_data tun; int n, pri; - char *data; + u_char *data; size_t sz; if (bundle->dev.header) { - data = (char *)&tun; + data = (u_char *)&tun; sz = sizeof tun; } else { data = tun.data; |