From: Howard Chu Date: Thu, 18 Apr 2002 12:20:55 +0000 (+0000) Subject: Fix warnings from sasl_errdetail X-Git-Tag: OPENLDAP_REL_ENG_2_MP~173 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=315ac06912783d7becbb94691a95e28d6086cdfb;p=openldap Fix warnings from sasl_errdetail --- diff --git a/libraries/libldap/cyrus.c b/libraries/libldap/cyrus.c index b411ad5cd8..6aa10edfab 100644 --- a/libraries/libldap/cyrus.c +++ b/libraries/libldap/cyrus.c @@ -620,7 +620,7 @@ ldap_int_sasl_bind( if ( (saslrc != SASL_OK) && (saslrc != SASL_CONTINUE) ) { ld->ld_errno = sasl_err2ldap( saslrc ); #if SASL_VERSION_MAJOR >= 2 - ld->ld_error = sasl_errdetail( ctx ); + ld->ld_error = (char *)sasl_errdetail( ctx ); #endif return ld->ld_errno; } @@ -716,7 +716,7 @@ ldap_int_sasl_bind( if ( (saslrc != SASL_OK) && (saslrc != SASL_CONTINUE) ) { ld->ld_errno = sasl_err2ldap( saslrc ); #if SASL_VERSION_MAJOR >= 2 - ld->ld_error = sasl_errdetail( ctx ); + ld->ld_error = (char *)sasl_errdetail( ctx ); #endif return ld->ld_errno; } @@ -728,7 +728,7 @@ ldap_int_sasl_bind( if ( saslrc != SASL_OK ) { #if SASL_VERSION_MAJOR >= 2 - ld->ld_error = sasl_errdetail( ctx ); + ld->ld_error = (char *)sasl_errdetail( ctx ); #endif return ld->ld_errno = sasl_err2ldap( saslrc ); }