summaryrefslogtreecommitdiff
path: root/rr.c
diff options
context:
space:
mode:
authorWillem Toorop <willem@nlnetlabs.nl>2014-08-21 17:14:08 +0200
committerWillem Toorop <willem@nlnetlabs.nl>2014-08-21 17:14:08 +0200
commitf84597e8dccfb2455ac0e335c8102ae936777c28 (patch)
tree891180731e1532f4016de6341588f99877de1b9f /rr.c
parent9f370d0521890360aa9f00aed629917d7ae6a793 (diff)
downloadldns-f84597e8dccfb2455ac0e335c8102ae936777c28.tar.gz
Lint things
Diffstat (limited to 'rr.c')
-rw-r--r--rr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/rr.c b/rr.c
index 671c4ebd..d51c4af2 100644
--- a/rr.c
+++ b/rr.c
@@ -671,9 +671,9 @@ ldns_rr_new_question_frm_str(ldns_rr **newrr, const char *str,
}
static int
-ldns_rr_is_whitespace_line(char* line, int line_len)
+ldns_rr_is_whitespace_line(char* line, ssize_t line_len)
{
- int i;
+ ssize_t i;
for (i = 0; i < line_len; i++) {
if (!isspace((int)line[i])) {
return 0;