From 59607a4c09c9f250dae2f05bc1bfbd42383d8ef0 Mon Sep 17 00:00:00 2001 From: Thomas Faber Date: Sun, 18 Oct 2015 11:03:03 +0200 Subject: [PATCH] wldap32: Add missing const to ldap_init definitions. Signed-off-by: Thomas Faber Signed-off-by: Hans Leidekker Signed-off-by: Alexandre Julliard --- dlls/wldap32/init.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/wldap32/init.c b/dlls/wldap32/init.c index 2c3ff7c9a94..46a078aabaf 100644 --- a/dlls/wldap32/init.c +++ b/dlls/wldap32/init.c @@ -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;