From 7bc3ad5ab720413e193a9a24e1e5ca0aee407394 Mon Sep 17 00:00:00 2001 From: brian Date: Sat, 4 May 2002 21:47:43 +0000 Subject: Tweak a data type from char * to u_char * --- usr.sbin/ppp/bundle.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.sbin/ppp') 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; -- cgit v1.1