]> git.sur5r.net Git - openldap/commitdiff
Cast away const from AC_GAI_STRERROR() return value.
authorHallvard Furuseth <hallvard@openldap.org>
Sun, 25 May 2003 20:50:26 +0000 (20:50 +0000)
committerHallvard Furuseth <hallvard@openldap.org>
Sun, 25 May 2003 20:50:26 +0000 (20:50 +0000)
libraries/libldap/util-int.c

index 96d1fe14e876877961b1143a969c4fb96a57b36b..d43288b24272557ffa8be4cfc1fe7e57e9133c20 100644 (file)
@@ -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 */