From a85ba0d644a73138430fcf8c96cc89e40a0679b8 Mon Sep 17 00:00:00 2001 From: James Jones Date: Wed, 11 Sep 2024 15:24:25 -0500 Subject: [PATCH] give ret the appropriate type (CID #1604602) 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 4b58fc6d0d803..3858eff9bbce4 100644 --- a/src/lib/eap_aka_sim/module.c +++ b/src/lib/eap_aka_sim/module.c @@ -302,7 +302,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) {