Author: tfaber
Date: Fri Oct 30 14:26:42 2015
New Revision: 69741
URL:
http://svn.reactos.org/svn/reactos?rev=69741&view=rev
Log:
[WLDAP32]
- Fix MSVC const mismatch warnings
Modified:
trunk/reactos/dll/win32/wldap32/init.c
Modified: trunk/reactos/dll/win32/wldap32/init.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/wldap32/init.c?r…
==============================================================================
--- trunk/reactos/dll/win32/wldap32/init.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/wldap32/init.c [iso-8859-1] Fri Oct 30 14:26:42 2015
@@ -302,7 +302,7 @@
*
* 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;
@@ -348,7 +348,7 @@
* 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;