Commit 0e5c8a65 authored by Mark Andrews's avatar Mark Andrews
Browse files

silence compiler warning

parent 54599d0e
......@@ -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));
/*
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment