]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
silence loss of precision warning v9.8.8b1
authorMark Andrews <marka@isc.org>
Mon, 23 Jun 2014 06:58:13 +0000 (16:58 +1000)
committerMark Andrews <marka@isc.org>
Mon, 23 Jun 2014 06:58:13 +0000 (16:58 +1000)
lib/dns/master.c

index 67b2a0b4f1cb487cf73fbdaef64a42e039ba0fab..0c8b37203ef44da6575b54c02772b78b114661fd 100644 (file)
@@ -2131,7 +2131,7 @@ load_raw(dns_loadctx_t *lctx) {
                                         isc_result_totext(result));
                        return (result);
                }
-               isc_buffer_add(&target, hdrlen);
+               isc_buffer_add(&target, (unsigned int)hdrlen);
                format = isc_buffer_getuint32(&target);
                if (format != dns_masterformat_raw) {
                        (*callbacks->error)(callbacks,