From: Stefan Metzmacher Date: Mon, 26 Feb 2024 20:02:08 +0000 (+0100) Subject: s3:libads: fix compiler warning in ads_mod_ber() X-Git-Tag: tdb-1.4.11~765 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=76e0d348dddd08d05a53911601c2aa499056cf34;p=thirdparty%2Fsamba.git s3:libads: fix compiler warning in ads_mod_ber() Signed-off-by: Stefan Metzmacher Reviewed-by: Andreas Schneider --- diff --git a/source3/libads/ldap.c b/source3/libads/ldap.c index bb219baec80..593881c8d4f 100644 --- a/source3/libads/ldap.c +++ b/source3/libads/ldap.c @@ -1978,7 +1978,7 @@ static ADS_STATUS ads_mod_ber(TALLOC_CTX *ctx, ADS_MODLIST *mods, if (!val) return ads_modlist_add(ctx, mods, LDAP_MOD_DELETE, name, NULL); return ads_modlist_add(ctx, mods, LDAP_MOD_REPLACE|LDAP_MOD_BVALUES, - name, (const void **) values); + name, (const void *) values); } static void ads_print_error(int ret, LDAP *ld)