From: Mark Andrews Date: Sun, 24 Mar 2013 20:31:37 +0000 (+1100) Subject: use unsigned constant X-Git-Tag: v9.10.0a1~448^2~24 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=0266cebbf0891ea4ccdfe6caed310b1ff5bfaf83;p=thirdparty%2Fbind9.git use unsigned constant --- diff --git a/lib/isccfg/parser.c b/lib/isccfg/parser.c index 52a65b33fdc..241f985f271 100644 --- a/lib/isccfg/parser.c +++ b/lib/isccfg/parser.c @@ -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);