From: Arran Cudbard-Bell Date: Sun, 19 May 2024 17:22:57 +0000 (-0600) Subject: Stupid const X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3310bf65f2912231fcb1dc59b1624d6894e3ca2a;p=thirdparty%2Ffreeradius-server.git Stupid const --- 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;