diff options
author | Jeremy Allison <jra@samba.org> | 2011-05-05 16:19:49 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2011-05-06 01:44:07 +0200 |
commit | 7d6ebe0de7d99c20854cafb8af50fe8f30ed778a (patch) | |
tree | 718a3cfdae0a8c6db47245d028bd043c4df0c09e /libcli/auth | |
parent | 76f5a39c7f165c656cdc9db29bfa0df59514fceb (diff) | |
download | samba-7d6ebe0de7d99c20854cafb8af50fe8f30ed778a.tar.gz samba-7d6ebe0de7d99c20854cafb8af50fe8f30ed778a.tar.bz2 samba-7d6ebe0de7d99c20854cafb8af50fe8f30ed778a.zip |
More const fixes. Remove CONST_DISCARD.
Diffstat (limited to 'libcli/auth')
-rw-r--r-- | libcli/auth/krb5_wrap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libcli/auth/krb5_wrap.c b/libcli/auth/krb5_wrap.c index 7725261408..485a722d8c 100644 --- a/libcli/auth/krb5_wrap.c +++ b/libcli/auth/krb5_wrap.c @@ -203,8 +203,8 @@ krb5_error_code smb_krb5_unparse_name(TALLOC_CTX *mem_ctx, for (i = 0; i < len1; i++) { - p1 = krb5_princ_component(context, CONST_DISCARD(krb5_principal, princ1), i); - p2 = krb5_princ_component(context, CONST_DISCARD(krb5_principal, princ2), i); + p1 = krb5_princ_component(context, discard_const(krb5_principal, princ1), i); + p2 = krb5_princ_component(context, discard_const(krb5_principal, princ2), i); if (p1->length != p2->length || memcmp(p1->data, p2->data, p1->length)) return False; |