Skip to content
Browse files

lint fixes.

git-svn-id: http://unbound.nlnetlabs.nl/svn/trunk@2649 be551aaa-1e26-0410-a405-d3ace91eadb9
  • Loading branch information...
1 parent 881c799 commit 43ec9fa53a2c962756cd4106188299294f3e1b9b wouter committed Mar 21, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 iterator/iter_fwd.c
  2. +1 −1 iterator/iter_hints.c
View
2 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:");
View
2 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);

0 comments on commit 43ec9fa

Please sign in to comment.
Something went wrong with that request. Please try again.