silence compiler warning

(cherry picked from commit 0e5c8a65a2)
This commit is contained in:
Mark Andrews
2016-03-09 12:37:49 +11:00
parent c1d4f2b629
commit 914a82996c

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));
/*