wldap32: Re-add one cast removed in d576c2d9342e769c.

Michael Stefaniuc mstefani at redhat.de
Thu Jan 15 14:17:58 CST 2009


This cast is needed to silence a compile warning with older openldap
versions; e.g. on RHEL5.
---
 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 f7e93dd..6439ba6 100644
--- a/dlls/wldap32/parse.c
+++ b/dlls/wldap32/parse.c
@@ -444,7 +444,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.6.0.6
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20090115/07c2fffe/attachment.pgp 


More information about the wine-patches mailing list