]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
silence compiler warning
authorMark Andrews <marka@isc.org>
Mon, 19 Apr 2004 23:16:20 +0000 (23:16 +0000)
committerMark Andrews <marka@isc.org>
Mon, 19 Apr 2004 23:16:20 +0000 (23:16 +0000)
lib/dns/resolver.c

index bdbf2ca04d28eb5fe80278f906a595d6f3895ec4..b7eb0297a6111e9668875d7b1278fdf37411f73a 100644 (file)
@@ -15,7 +15,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: resolver.c,v 1.286 2004/04/15 23:40:24 marka Exp $ */
+/* $Id: resolver.c,v 1.287 2004/04/19 23:16:20 marka Exp $ */
 
 #include <config.h>
 
@@ -1563,7 +1563,7 @@ add_bad(fetchctx_t *fctx, isc_sockaddr_t *address, isc_result_t reason) {
                sep2 = ") ";
        } else if (reason == DNS_R_UNEXPECTEDOPCODE) {
                isc_buffer_init(&b, code, sizeof(code) - 1);
-               dns_opcode_totext(fctx->rmessage->opcode, &b);
+               dns_opcode_totext((dns_opcode_t)fctx->rmessage->opcode, &b);
                code[isc_buffer_usedlength(&b)] = '\0';
                sep1 = "(";
                sep2 = ") ";