From becc43b87d892503cf621ab9259c61fc72ff0813 Mon Sep 17 00:00:00 2001 From: "Jose A. Rivera" Date: Sat, 25 Jun 2016 10:47:52 -0500 Subject: [PATCH] krb5_wrap: Fix build error when not using heimdal. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Just a small typo fix where type and variable were flipped. Signed-off-by: Jose A. Rivera Reviewed-by: Ralph Boehme Autobuild-User(master): Ralph Böhme Autobuild-Date(master): Sat Jun 25 22:43:27 CEST 2016 on sn-devel-144 --- lib/krb5_wrap/krb5_samba.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/krb5_wrap/krb5_samba.c b/lib/krb5_wrap/krb5_samba.c index 79e9450f0ee..8064f1793fe 100644 --- a/lib/krb5_wrap/krb5_samba.c +++ b/lib/krb5_wrap/krb5_samba.c @@ -162,7 +162,7 @@ krb5_error_code smb_krb5_mk_error(krb5_context context, if (e_text != NULL) { dec_err.text.length = strlen(e_text); - dec_err.text.data = discard_const_p(e_text, char); + dec_err.text.data = discard_const_p(char, e_text); } if (e_data != NULL) { dec_err.e_data = *e_data; -- 2.11.4.GIT