[PATCH] wldap32: Silence a compiler warning.

Charles Davis cdavis at mymail.mines.edu
Sun Oct 9 14:07:52 CDT 2011


---
 dlls/wldap32/parse.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/wldap32/parse.c b/dlls/wldap32/parse.c
index 1d65e40..62ffdba 100644
--- a/dlls/wldap32/parse.c
+++ b/dlls/wldap32/parse.c
@@ -442,7 +442,7 @@ INT CDECL ldap_parse_vlv_controlW( WLDAP32_LDAP *ld, PLDAPControlW *control,
 
 #ifdef HAVE_LDAP_PARSE_VLV_CONTROL
     if (!(ret = ldap_parse_vlv_control( ld, controlU, &pos, &count,
-                                        context, errcode )))
+                                        (struct berval **)context, errcode )))
     {
         *targetpos = pos;
         *listcount = count;
-- 
1.7.7




More information about the wine-patches mailing list