diff options
author | 1996-12-14 06:49:36 +0000 | |
---|---|---|
committer | 1996-12-14 06:49:36 +0000 | |
commit | 198c6cf51167a9bc60fc9a12c29bdced0df8c37a (patch) | |
tree | 2fefa1099cd0f864190c186748307f8d10bba747 /lib/libc/net | |
parent | Now does not display responses to other peoples stuff, like UDP packets (diff) | |
download | wireguard-openbsd-198c6cf51167a9bc60fc9a12c29bdced0df8c37a.tar.xz wireguard-openbsd-198c6cf51167a9bc60fc9a12c29bdced0df8c37a.zip |
Clean up lint and compile warnings
Diffstat (limited to 'lib/libc/net')
-rw-r--r-- | lib/libc/net/res_mkquery.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/net/res_mkquery.c b/lib/libc/net/res_mkquery.c index 02b64e98865..6fbd6a38599 100644 --- a/lib/libc/net/res_mkquery.c +++ b/lib/libc/net/res_mkquery.c @@ -52,7 +52,7 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char rcsid[] = "$OpenBSD: res_mkquery.c,v 1.4 1996/09/15 09:31:20 tholo Exp $"; +static char rcsid[] = "$OpenBSD: res_mkquery.c,v 1.5 1996/12/14 06:49:39 tholo Exp $"; #endif /* LIBC_SCCS and not lint */ #include <sys/param.h> @@ -132,7 +132,7 @@ res_mkquery(op, dname, class, type, data, datalen, newrr_in, buf, buflen) * Make an additional record for completion domain. */ buflen -= RRFIXEDSZ; - if ((n = dn_comp(data, cp, buflen, dnptrs, lastdnptr)) < 0) + if ((n = dn_comp((const char *)data, cp, buflen, dnptrs, lastdnptr)) < 0) return (-1); cp += n; buflen -= n; |