Thomas Faber : wldap32: Add missing const to ldap_init definitions.
Alexandre Julliard
julliard at wine.codeweavers.com
Fri Oct 30 08:22:26 CDT 2015
Module: wine
Branch: master
Commit: 59607a4c09c9f250dae2f05bc1bfbd42383d8ef0
URL: http://source.winehq.org/git/wine.git/?a=commit;h=59607a4c09c9f250dae2f05bc1bfbd42383d8ef0
Author: Thomas Faber <thomas.faber at reactos.org>
Date: Sun Oct 18 11:03:03 2015 +0200
wldap32: Add missing const to ldap_init definitions.
Signed-off-by: Thomas Faber <thomas.faber at reactos.org>
Signed-off-by: Hans Leidekker <hans at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
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 2c3ff7c..46a078a 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;
More information about the wine-cvs
mailing list