From: Evan Hunt Date: Tue, 19 Nov 2013 00:01:39 +0000 (-0800) Subject: [master] silence warning X-Git-Tag: v9.10.0a1~1 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=2667746d5d76e6b05f258dc7eaf6a4da32be2883;p=thirdparty%2Fbind9.git [master] silence warning --- diff --git a/bin/tools/named-rrchecker.c b/bin/tools/named-rrchecker.c index 629e67c0586..8844062a6b0 100644 --- a/bin/tools/named-rrchecker.c +++ b/bin/tools/named-rrchecker.c @@ -171,7 +171,7 @@ main(int argc, char *argv[]) { * Get class. */ if (token.type == isc_tokentype_number) { - rdclass = token.value.as_ulong; + rdclass = (dns_rdataclass_t) token.value.as_ulong; if (token.value.as_ulong > 0xffffu) { fprintf(stderr, "class value too big %lu\n", token.value.as_ulong); @@ -219,7 +219,7 @@ main(int argc, char *argv[]) { * Get type. */ if (token.type == isc_tokentype_number) { - rdtype = token.value.as_ulong; + rdtype = (dns_rdatatype_t) token.value.as_ulong; if (token.value.as_ulong > 0xffffu) { fprintf(stderr, "type value too big %lu\n", token.value.as_ulong);