From: Wouter Wijngaards Date: Wed, 21 Mar 2012 15:34:44 +0000 (+0000) Subject: lint fixes. X-Git-Tag: release-1.4.17rc1~24 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eb926f15da803f27bcab05aab5819e2f715ca3ac;p=thirdparty%2Funbound.git lint fixes. git-svn-id: file:///svn/unbound/trunk@2649 be551aaa-1e26-0410-a405-d3ace91eadb9 --- diff --git a/iterator/iter_fwd.c b/iterator/iter_fwd.c index 17eaecbd2..04976db18 100644 --- a/iterator/iter_fwd.c +++ b/iterator/iter_fwd.c @@ -259,7 +259,7 @@ read_forwards(struct iter_forwards* fwd, struct config_file* cfg) /* the flag is turned off for 'forward-first' so that the * last resort will ask for parent-side NS record and thus * fallback to the internet name servers on a failure */ - dp->has_parent_side_NS = !s->isfirst; + dp->has_parent_side_NS = (uint8_t)!s->isfirst; if(!forwards_insert(fwd, LDNS_RR_CLASS_IN, dp)) return 0; verbose(VERB_QUERY, "Forward zone server list:"); diff --git a/iterator/iter_hints.c b/iterator/iter_hints.c index 36ed999f2..cfb9db7ab 100644 --- a/iterator/iter_hints.c +++ b/iterator/iter_hints.c @@ -260,7 +260,7 @@ read_stubs(struct iter_hints* hints, struct config_file* cfg) /* the flag is turned off for 'stub-first' so that the * last resort will ask for parent-side NS record and thus * fallback to the internet name servers on a failure */ - dp->has_parent_side_NS = !s->isfirst; + dp->has_parent_side_NS = (uint8_t)!s->isfirst; if(!hints_insert(hints, LDNS_RR_CLASS_IN, dp, !s->isprime)) return 0; delegpt_log(VERB_QUERY, dp);