From 548046ff4df23f08e1f652136e7322623885d7ab Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Thu, 26 Apr 2012 17:56:38 -0400 Subject: [PATCH] Fix incompatible assignment warning --- source4/auth/kerberos/srv_keytab.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source4/auth/kerberos/srv_keytab.c b/source4/auth/kerberos/srv_keytab.c index b7a2079520c..318c642c73d 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++) { -- 2.34.1