diff --git a/dlls/wldap32/parse.c b/dlls/wldap32/parse.c index 1d65e408a6a..62ffdbab0da 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;