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

silence compiler warning

This commit is contained in:
Mark Andrews
2016-03-09 12:37:49 +11:00
parent 54599d0e4f
commit 0e5c8a65a2

View File

@@ -58,7 +58,7 @@ fromtext_caa(ARGS_FROMTEXT) {
ISC_FALSE));
if (token.value.as_ulong > 255U)
RETTOK(ISC_R_RANGE);
flags = token.value.as_ulong & 255U;
flags = (isc_uint8_t)(token.value.as_ulong & 255U);
RETERR(uint8_tobuffer(flags, target));
/*