summaryrefslogtreecommitdiffstats
path: root/daemons
diff options
context:
space:
mode:
authorLukas Slebodnik <lslebodn@redhat.com>2016-08-05 12:03:07 +0000
committerMartin Basti <mbasti@redhat.com>2016-08-08 14:35:11 +0200
commit50c53395de7b5b4c62f3bc9004d2c7a94792339f (patch)
treebbbb3c16c0c481995910554c8561193a6a6d2b03 /daemons
parent7e1898bd014234c176b0c5d4d00463c70fba27b0 (diff)
downloadfreeipa-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')
-rw-r--r--daemons/ipa-slapi-plugins/ipa-pwd-extop/ipa_pwd_extop.c2
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);