summaryrefslogtreecommitdiff
path: root/source4/auth/kerberos
diff options
context:
space:
mode:
Diffstat (limited to 'source4/auth/kerberos')
-rw-r--r--source4/auth/kerberos/srv_keytab.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/auth/kerberos/srv_keytab.c b/source4/auth/kerberos/srv_keytab.c
index b7a2079520..318c642c73 100644
--- a/source4/auth/kerberos/srv_keytab.c
+++ b/source4/auth/kerberos/srv_keytab.c
@@ -247,7 +247,7 @@ static krb5_error_code keytab_add_keys(TALLOC_CTX *parent_ctx,
krb5_data password;
char *unparsed;
- password.data = discard_const_p(char *, password_s);
+ password.data = discard_const_p(char, password_s);
password.length = strlen(password_s);
for (i = 0; enctypes[i]; i++) {