diff options
author | brian <brian@FreeBSD.org> | 2002-05-04 21:47:43 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 2002-05-04 21:47:43 +0000 |
commit | 7bc3ad5ab720413e193a9a24e1e5ca0aee407394 (patch) | |
tree | efa170d984291fcc714fb9377639afbc5f1f5e0a /usr.sbin/ppp | |
parent | c281c83bd5bf4d6045f082692f107fd7781140a3 (diff) | |
download | FreeBSD-src-7bc3ad5ab720413e193a9a24e1e5ca0aee407394.zip FreeBSD-src-7bc3ad5ab720413e193a9a24e1e5ca0aee407394.tar.gz |
Tweak a data type from char * to u_char *
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; |