From: Simo Sorce Date: Thu, 26 Apr 2012 21:56:38 +0000 (-0400) Subject: Fix incompatible assignment warning X-Git-Tag: samba-4.0.0alpha21~355 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=548046ff4df23f08e1f652136e7322623885d7ab;p=thirdparty%2Fsamba.git Fix incompatible assignment warning --- 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++) {