Skip to content

Commit

Permalink
Stupid const
Browse files Browse the repository at this point in the history
  • Loading branch information
arr2036 committed May 19, 2024
1 parent 9949ca9 commit 3310bf6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/unlang/xlat_expr.c
Original file line number Diff line number Diff line change
Expand Up @@ -1601,7 +1601,7 @@ static xlat_action_t xlat_func_expr_rcode(TALLOC_CTX *ctx, fr_dcursor_t *out,
xlat_ctx_t const *xctx,
request_t *request, fr_value_box_list_t *args)
{
xlat_rcode_inst_t *inst = talloc_get_type_abort(xctx->inst, xlat_rcode_inst_t);
xlat_rcode_inst_t const *inst = talloc_get_type_abort_const(xctx->inst, xlat_rcode_inst_t);
fr_value_box_t *arg_rcode;
rlm_rcode_t rcode;
fr_value_box_t *vb;
Expand Down

0 comments on commit 3310bf6

Please sign in to comment.