From: Alan T. DeKok Date: Wed, 8 Sep 2021 10:38:17 +0000 (-0400) Subject: limit is uint64, not uint32 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=705960ddada7ead780ebd1f3eae4dd4f97361c9d;p=thirdparty%2Ffreeradius-server.git limit is uint64, not uint32 --- diff --git a/src/modules/rlm_sqlcounter/rlm_sqlcounter.c b/src/modules/rlm_sqlcounter/rlm_sqlcounter.c index e298b4e6c42..fe0f4c26f3c 100644 --- a/src/modules/rlm_sqlcounter/rlm_sqlcounter.c +++ b/src/modules/rlm_sqlcounter/rlm_sqlcounter.c @@ -485,7 +485,7 @@ static unlang_action_t CC_HINT(nonnull) mod_authorize(rlm_rcode_t *p_result, mod RDEBUG2("Time remaining (%" PRIu64 "s) is greater than time to reset (%" PRIu64 "s). " "Adding %" PRIu64 "s to reply value", to_reset, res, to_reset); - res = to_reset + limit->vp_uint32; + res = to_reset + limit->vp_uint64; } /*