diff options
author | Lukas Slebodnik <lslebodn@redhat.com> | 2016-08-05 12:03:07 +0000 |
---|---|---|
committer | Martin Basti <mbasti@redhat.com> | 2016-08-08 14:35:11 +0200 |
commit | 50c53395de7b5b4c62f3bc9004d2c7a94792339f (patch) | |
tree | bbbb3c16c0c481995910554c8561193a6a6d2b03 /daemons/ipa-slapi-plugins | |
parent | 7e1898bd014234c176b0c5d4d00463c70fba27b0 (diff) | |
download | freeipa-50c53395de7b5b4c62f3bc9004d2c7a94792339f.tar.gz freeipa-50c53395de7b5b4c62f3bc9004d2c7a94792339f.tar.xz freeipa-50c53395de7b5b4c62f3bc9004d2c7a94792339f.zip |
ipa-pwd-extop: Fix warning assignment discards ‘const’ qualifier from pointer
ipa_pwd_extop.c: In function ‘ipapwd_chpwop’:
ipa_pwd_extop.c:337:13: warning: assignment discards ‘const’ qualifier
from pointer target type [-Wdiscarded-qualifiers]
target_dn = slapi_sdn_get_ndn(target_sdn);
^
Reviewed-By: Thierry Bordaz <tbordaz@redhat.com>
Diffstat (limited to 'daemons/ipa-slapi-plugins')
-rw-r--r-- | daemons/ipa-slapi-plugins/ipa-pwd-extop/ipa_pwd_extop.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/daemons/ipa-slapi-plugins/ipa-pwd-extop/ipa_pwd_extop.c b/daemons/ipa-slapi-plugins/ipa-pwd-extop/ipa_pwd_extop.c index 74ddfdf87..6a87a2786 100644 --- a/daemons/ipa-slapi-plugins/ipa-pwd-extop/ipa_pwd_extop.c +++ b/daemons/ipa-slapi-plugins/ipa-pwd-extop/ipa_pwd_extop.c @@ -210,7 +210,7 @@ static int ipapwd_chpwop(Slapi_PBlock *pb, struct ipapwd_krbcfg *krbcfg) char *principal = NULL; Slapi_PBlock *chpwop_pb = NULL; Slapi_DN *target_sdn = NULL; - char *target_dn = NULL; + const char *target_dn = NULL; /* Get the ber value of the extended operation */ slapi_pblock_get(pb, SLAPI_EXT_OP_REQ_VALUE, &extop_value); |