mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-25 00:59:45 -05:00
Cast away const from AC_GAI_STRERROR() return value.
This commit is contained in:
parent
68ddf9f6aa
commit
aed036f0c3
1 changed files with 1 additions and 1 deletions
|
|
@ -220,7 +220,7 @@ int ldap_pvt_get_hname(
|
|||
#if defined( LDAP_R_COMPILE )
|
||||
ldap_pvt_thread_mutex_unlock( &ldap_int_resolv_mutex );
|
||||
#endif
|
||||
if ( rc ) *err = AC_GAI_STRERROR( rc );
|
||||
if ( rc ) *err = (char *)AC_GAI_STRERROR( rc );
|
||||
return rc;
|
||||
|
||||
#else /* !HAVE_GETNAMEINFO */
|
||||
|
|
|
|||
Loading…
Reference in a new issue