about summary refs log tree commit diff
path: root/resolv/base64.c
diff options
context:
space:
mode:
Diffstat (limited to 'resolv/base64.c')
-rw-r--r--resolv/base64.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/resolv/base64.c b/resolv/base64.c
index 31cd18188f..5d9eb6ec3d 100644
--- a/resolv/base64.c
+++ b/resolv/base64.c
@@ -137,7 +137,7 @@ b64_ntop(src, srclength, target, targsize)
 	size_t datalength = 0;
 	u_char input[3];
 	u_char output[4];
-	int i;
+	size_t i;
 
 	while (2 < srclength) {
 		input[0] = *src++;
@@ -204,7 +204,8 @@ b64_pton(src, target, targsize)
 	u_char *target;
 	size_t targsize;
 {
-	int tarindex, state, ch;
+	size_t tarindex;
+	int state, ch;
 	char *pos;
 
 	state = 0;