Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
71de29b7
Commit
71de29b7
authored
Dec 31, 2008
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wldap32: Convert ber_printf to use an MS ABI vararg list for x86_64.
parent
55e4c7f1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
ber.c
dlls/wldap32/ber.c
+6
-6
No files found.
dlls/wldap32/ber.c
View file @
71de29b7
...
...
@@ -325,12 +325,12 @@ ULONG CDECL WLDAP32_ber_skip_tag( BerElement *berelement, ULONG *len )
INT
CDECL
WLDAP32_ber_printf
(
BerElement
*
berelement
,
PCHAR
fmt
,
...
)
{
#ifdef HAVE_LDAP
va_list
list
;
__ms_
va_list
list
;
int
ret
=
0
;
char
new_fmt
[
2
];
new_fmt
[
1
]
=
0
;
va_start
(
list
,
fmt
);
__ms_
va_start
(
list
,
fmt
);
while
(
*
fmt
)
{
new_fmt
[
0
]
=
*
fmt
++
;
...
...
@@ -391,7 +391,7 @@ INT CDECL WLDAP32_ber_printf( BerElement *berelement, PCHAR fmt, ... )
}
if
(
ret
==
-
1
)
break
;
}
va_end
(
list
);
__ms_
va_end
(
list
);
return
ret
;
#else
return
LBER_ERROR
;
...
...
@@ -420,12 +420,12 @@ INT CDECL WLDAP32_ber_printf( BerElement *berelement, PCHAR fmt, ... )
INT
CDECL
WLDAP32_ber_scanf
(
BerElement
*
berelement
,
PCHAR
fmt
,
...
)
{
#ifdef HAVE_LDAP
va_list
list
;
__ms_
va_list
list
;
int
ret
=
0
;
char
new_fmt
[
2
];
new_fmt
[
1
]
=
0
;
va_start
(
list
,
fmt
);
__ms_
va_start
(
list
,
fmt
);
while
(
*
fmt
)
{
new_fmt
[
0
]
=
*
fmt
++
;
...
...
@@ -491,7 +491,7 @@ INT CDECL WLDAP32_ber_scanf( BerElement *berelement, PCHAR fmt, ... )
}
if
(
ret
==
-
1
)
break
;
}
va_end
(
list
);
__ms_
va_end
(
list
);
return
ret
;
#else
return
LBER_ERROR
;
...
...
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