aboutsummaryrefslogtreecommitdiff
path: root/resolv/nsap_addr.c
diff options
context:
space:
mode:
Diffstat (limited to 'resolv/nsap_addr.c')
-rw-r--r--resolv/nsap_addr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/resolv/nsap_addr.c b/resolv/nsap_addr.c
index 2f8ffae322..5f41a736d6 100644
--- a/resolv/nsap_addr.c
+++ b/resolv/nsap_addr.c
@@ -54,7 +54,7 @@ inet_nsap_addr(ascii, binary, maxlen)
register u_char c, nib;
u_int len = 0;
- while ((c = *ascii++) != '\0' && len < maxlen) {
+ while ((c = *ascii++) != '\0' && (int) len < maxlen) {
if (c == '.' || c == '+' || c == '/')
continue;
if (!isascii(c))