Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
d576c2d9
Commit
d576c2d9
authored
Jan 13, 2009
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Jan 13, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wldap32: Remove superfluous pointer casts.
parent
f7c13328
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
option.c
dlls/wldap32/option.c
+2
-2
parse.c
dlls/wldap32/parse.c
+1
-1
No files found.
dlls/wldap32/option.c
View file @
d576c2d9
...
...
@@ -327,7 +327,7 @@ ULONG CDECL ldap_set_optionA( WLDAP32_LDAP *ld, int option, void *value )
{
LDAPControlW
**
ctrlsW
;
ctrlsW
=
controlarrayAtoW
(
(
LDAPControlA
**
)
value
);
ctrlsW
=
controlarrayAtoW
(
value
);
if
(
!
ctrlsW
)
return
WLDAP32_LDAP_NO_MEMORY
;
ret
=
ldap_set_optionW
(
ld
,
option
,
ctrlsW
);
...
...
@@ -430,7 +430,7 @@ ULONG CDECL ldap_set_optionW( WLDAP32_LDAP *ld, int option, void *value )
{
LDAPControl
**
ctrlsU
;
ctrlsU
=
controlarrayWtoU
(
(
LDAPControlW
**
)
value
);
ctrlsU
=
controlarrayWtoU
(
value
);
if
(
!
ctrlsU
)
return
WLDAP32_LDAP_NO_MEMORY
;
ret
=
map_error
(
ldap_set_option
(
ld
,
option
,
ctrlsU
));
...
...
dlls/wldap32/parse.c
View file @
d576c2d9
...
...
@@ -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
,
(
struct
berval
**
)
context
,
errcode
)))
context
,
errcode
)))
{
*
targetpos
=
pos
;
*
listcount
=
count
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment