From 3310bf65f2912231fcb1dc59b1624d6894e3ca2a Mon Sep 17 00:00:00 2001 From: Arran Cudbard-Bell Date: Sun, 19 May 2024 11:22:57 -0600 Subject: [PATCH] Stupid const --- src/lib/unlang/xlat_expr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/unlang/xlat_expr.c b/src/lib/unlang/xlat_expr.c index a0083c0c8f..97790839ef 100644 --- a/src/lib/unlang/xlat_expr.c +++ b/src/lib/unlang/xlat_expr.c @@ -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; -- 2.47.3