From: Alan T. DeKok Date: Sat, 20 Feb 2021 20:33:13 +0000 (-0500) Subject: add const X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=845beef5ddfb15963025f33edf87cfb0388bfcc5;p=thirdparty%2Ffreeradius-server.git add const --- diff --git a/src/lib/tls/engine.c b/src/lib/tls/engine.c index 3bd06a55e4d..f370748c55e 100644 --- a/src/lib/tls/engine.c +++ b/src/lib/tls/engine.c @@ -69,8 +69,8 @@ static rbtree_t *tls_engines; */ static int tls_engine_cmp(void const *a, void const *b) { - tls_engine_t const *our_a = talloc_get_type_abort(a, tls_engine_t); - tls_engine_t const *our_b = talloc_get_type_abort(b, tls_engine_t); + tls_engine_t const *our_a = talloc_get_type_abort_const(a, tls_engine_t); + tls_engine_t const *our_b = talloc_get_type_abort_const(b, tls_engine_t); int8_t ret; ret = strcmp(our_a->id, our_b->id);