Skip to content
Snippets Groups Projects
Commit aed036f0 authored by Hallvard Furuseth's avatar Hallvard Furuseth
Browse files

Cast away const from AC_GAI_STRERROR() return value.

parent 68ddf9f6
No related branches found
No related tags found
No related merge requests found
......@@ -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 */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment