From a916928acaf91a2d238b7940b3f882db7d548564 Mon Sep 17 00:00:00 2001 From: Jo Sutton Date: Wed, 10 Apr 2024 12:01:09 +1200 Subject: [PATCH] s4:kdc: Remove unnecessary cast Signed-off-by: Jo Sutton Reviewed-by: Andrew Bartlett --- source4/kdc/kdc-heimdal.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/source4/kdc/kdc-heimdal.c b/source4/kdc/kdc-heimdal.c index 4f7b80d0f74..cbef2e66b7b 100644 --- a/source4/kdc/kdc-heimdal.c +++ b/source4/kdc/kdc-heimdal.c @@ -64,8 +64,7 @@ static kdc_code kdc_process(struct kdc_server *kdc, char *pa; struct sockaddr_storage ss; krb5_data k5_reply; - krb5_kdc_configuration *kdc_config = - (krb5_kdc_configuration *)kdc->private_data; + krb5_kdc_configuration *kdc_config = kdc->private_data; krb5_data_zero(&k5_reply);