Skip to content

Commit

Permalink
give ret the appropriate type (CID #1604602)
Browse files Browse the repository at this point in the history
Declaring ret as ssize_t, the value fr_aka_sim_encode() returns,
avoids the overflow_const error.
  • Loading branch information
jejones3141 committed Sep 11, 2024
1 parent b0d9e73 commit a85ba0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/eap_aka_sim/module.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit a85ba0d

Please sign in to comment.