]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
use unsigned constant
authorMark Andrews <marka@isc.org>
Sun, 24 Mar 2013 20:31:37 +0000 (07:31 +1100)
committerMark Andrews <marka@isc.org>
Sun, 24 Mar 2013 20:31:37 +0000 (07:31 +1100)
lib/isccfg/parser.c

index 52a65b33fdc578642813a43986f56fd1ac6a26ef..241f985f2717bbe336c740e30fa25efbcef12333 100644 (file)
@@ -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);