[WLDAP32]

- Fix MSVC const mismatch warnings

svn path=/trunk/; revision=69741
This commit is contained in:
Thomas Faber 2015-10-30 14:26:42 +00:00
parent 22c6dc878b
commit 081c4f25c7

View file

@ -302,7 +302,7 @@ ULONG CDECL ldap_connect( WLDAP32_LDAP *ld, struct l_timeval *timeout )
* *
* See ldap_initW. * See ldap_initW.
*/ */
WLDAP32_LDAP * CDECL ldap_initA( PCHAR hostname, ULONG portnumber ) WLDAP32_LDAP * CDECL ldap_initA( const PCHAR hostname, ULONG portnumber )
{ {
#ifdef HAVE_LDAP #ifdef HAVE_LDAP
WLDAP32_LDAP *ld = NULL; WLDAP32_LDAP *ld = NULL;
@ -348,7 +348,7 @@ exit:
* to this function. The connection will not be made until the first * to this function. The connection will not be made until the first
* LDAP function that needs it is called. * LDAP function that needs it is called.
*/ */
WLDAP32_LDAP * CDECL ldap_initW( PWCHAR hostname, ULONG portnumber ) WLDAP32_LDAP * CDECL ldap_initW( const PWCHAR hostname, ULONG portnumber )
{ {
#ifdef HAVE_LDAP #ifdef HAVE_LDAP
LDAP *ld = NULL; LDAP *ld = NULL;