mirror of
https://github.com/isc-projects/bind9.git
synced 2026-02-17 01:31:32 -05:00
use unsigned constant
This commit is contained in:
parent
6f85ff3aac
commit
0266cebbf0
1 changed files with 1 additions and 1 deletions
|
|
@ -1871,7 +1871,7 @@ cfg_parse_dscp(cfg_parser_t *pctx, isc_dscp_t *dscp) {
|
|||
"expected number");
|
||||
return (ISC_R_UNEXPECTEDTOKEN);
|
||||
}
|
||||
if (pctx->token.value.as_ulong > 63) {
|
||||
if (pctx->token.value.as_ulong > 63U) {
|
||||
cfg_parser_error(pctx, CFG_LOG_NEAR,
|
||||
"dscp out of range");
|
||||
return (ISC_R_RANGE);
|
||||
|
|
|
|||
Loading…
Reference in a new issue