about summary refs log tree commit diff
path: root/resolv
diff options
context:
space:
mode:
Diffstat (limited to 'resolv')
-rw-r--r--resolv/res_comp.c2
-rw-r--r--resolv/res_send.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/resolv/res_comp.c b/resolv/res_comp.c
index e105dbb0b6..103ebd9a52 100644
--- a/resolv/res_comp.c
+++ b/resolv/res_comp.c
@@ -397,7 +397,7 @@ res_hnok(dn)
 		int nch = *dn++;
 
 		if (periodchar(ch)) {
-			NULL;
+			/* NULL */;
 		} else if (periodchar(pch)) {
 			if (!borderchar(ch))
 				return (0);
diff --git a/resolv/res_send.c b/resolv/res_send.c
index d2c97d0cd4..bf8158aa52 100644
--- a/resolv/res_send.c
+++ b/resolv/res_send.c
@@ -499,7 +499,7 @@ read_len:
 			struct timeval timeout;
 			fd_set dsmask;
 			struct sockaddr_in from;
-			int fromlen;
+			size_t fromlen;
 
 			if ((s < 0) || vc) {
 				if (vc)