From: Arran Cudbard-Bell Date: Tue, 28 Jul 2020 17:44:03 +0000 (-0400) Subject: Quiet compiler X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0d987cd88e5cc63855561a4c7cbe01d201059547;p=thirdparty%2Ffreeradius-server.git Quiet compiler --- diff --git a/src/modules/rlm_digest/rlm_digest.c b/src/modules/rlm_digest/rlm_digest.c index a6d4d916ec6..f166b78f2fd 100644 --- a/src/modules/rlm_digest/rlm_digest.c +++ b/src/modules/rlm_digest/rlm_digest.c @@ -428,7 +428,8 @@ static rlm_rcode_t CC_HINT(nonnull) mod_authenticate(UNUSED module_ctx_t const * return RLM_MODULE_INVALID; } - if (fr_hex2bin(&FR_DBUFF_TMP(&hash[0], sizeof(hash)), &FR_SBUFF_IN(vp->vp_strvalue, vp->vp_length)) != (vp->vp_length >> 1)) { + if (fr_hex2bin(&FR_DBUFF_TMP(&hash[0], sizeof(hash)), + &FR_SBUFF_IN(vp->vp_strvalue, vp->vp_length)) != (ssize_t)(vp->vp_length >> 1)) { RDEBUG2("Invalid text in Digest-Response"); return RLM_MODULE_INVALID; }