mirror of
https://github.com/samba-team/samba.git
synced 2025-01-10 01:18:15 +03:00
s3:libads: fix compiler warning in ads_mod_ber()
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
This commit is contained in:
parent
bac243442a
commit
76e0d348dd
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user