From: Jose A. Rivera Date: Sat, 25 Jun 2016 15:47:52 +0000 (-0500) Subject: krb5_wrap: Fix build error when not using heimdal. X-Git-Tag: tdb-1.3.10~708 X-Git-Url: http://git.samba.org/?p=samba.git;a=commitdiff_plain;h=becc43b87d892503cf621ab9259c61fc72ff0813;ds=sidebyside krb5_wrap: Fix build error when not using heimdal. 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 --- 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;