Commit 59607a4c authored by Thomas Faber's avatar Thomas Faber Committed by Alexandre Julliard

wldap32: Add missing const to ldap_init definitions.

parent 6fcc923e
......@@ -319,7 +319,7 @@ ULONG CDECL ldap_connect( WLDAP32_LDAP *ld, struct l_timeval *timeout )
*
* 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
WLDAP32_LDAP *ld = NULL;
......@@ -365,7 +365,7 @@ exit:
* to this function. The connection will not be made until the first
* 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
LDAP *ld = NULL;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment