2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 14:35:26 +00:00

silence compiler, explict coversion

This commit is contained in:
Mark Andrews
2010-05-19 09:52:42 +00:00
parent 15c961a1dd
commit abb239e7fc

View File

@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: ncache.c,v 1.49 2010/05/19 06:39:50 marka Exp $ */
/* $Id: ncache.c,v 1.50 2010/05/19 09:52:42 marka Exp $ */
/*! \file */
@@ -268,7 +268,7 @@ dns_ncache_addoptout(dns_message_t *message, dns_db_t *cache,
trust = dns_trust_authauthority;
} else
trust = dns_trust_additional;
isc_buffer_putuint8(&buffer, trust); /* trust */
isc_buffer_putuint8(&buffer, (unsigned char)trust); /* trust */
isc_buffer_putuint16(&buffer, 0); /* count */
/*