From b0ffcef556298479543c6cd89dd5bda2d09b0b53 Mon Sep 17 00:00:00 2001 From: James Jones Date: Sun, 12 Jan 2025 14:52:03 -0600 Subject: [PATCH] give ret the appropriate type (CID #1604602) (#5429) Declaring ret as ssize_t, the value fr_aka_sim_encode() returns, avoids the overflow_const error. --- src/lib/eap_aka_sim/module.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/eap_aka_sim/module.c b/src/lib/eap_aka_sim/module.c index 38c66146dc27..3b74edf15806 100644 --- a/src/lib/eap_aka_sim/module.c +++ b/src/lib/eap_aka_sim/module.c @@ -300,7 +300,7 @@ unlang_action_t eap_aka_sim_process(rlm_rcode_t *p_result, module_ctx_t const *m eap_aka_sim_mod_session_t); fr_pair_t *subtype_vp; fr_dcursor_t cursor; - int ret; + ssize_t ret; fr_aka_sim_ctx_t decode_ctx; switch (eap_session->this_round->response->type.num) {