From: Alan T. DeKok Date: Sat, 2 Jul 2022 20:06:33 +0000 (-0400) Subject: add const to quiet compiler X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7e9ebe1b64e42b4c3cbedda9c3640af341f6bee9;p=thirdparty%2Ffreeradius-server.git add const to quiet compiler --- diff --git a/src/lib/unlang/xlat_expr.c b/src/lib/unlang/xlat_expr.c index 8f20a6be26d..e8a01849b79 100644 --- a/src/lib/unlang/xlat_expr.c +++ b/src/lib/unlang/xlat_expr.c @@ -1403,7 +1403,7 @@ static xlat_action_t xlat_func_exists(TALLOC_CTX *ctx, fr_dcursor_t *out, xlat_ctx_t const *xctx, request_t *request, UNUSED fr_value_box_list_t *in) { - xlat_exists_inst_t *inst = talloc_get_type_abort(xctx->inst, xlat_exists_inst_t); + xlat_exists_inst_t const *inst = talloc_get_type_abort_const(xctx->inst, xlat_exists_inst_t); xlat_exists_rctx_t *rctx; /*