From aed036f0c3cb285a23e8403eb1c7ea761da3e157 Mon Sep 17 00:00:00 2001 From: Hallvard Furuseth Date: Sun, 25 May 2003 20:50:26 +0000 Subject: [PATCH] Cast away const from AC_GAI_STRERROR() return value. --- libraries/libldap/util-int.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/libldap/util-int.c b/libraries/libldap/util-int.c index 96d1fe14e8..d43288b242 100644 --- a/libraries/libldap/util-int.c +++ b/libraries/libldap/util-int.c @@ -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 */ -- 2.39.5