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
f0fcb195
Commit
f0fcb195
authored
Oct 25, 2021
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
expand: Use the standard va_list instead of __ms_va_list.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
a8a250cd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
expand.c
programs/expand/expand.c
+3
-3
No files found.
programs/expand/expand.c
View file @
f0fcb195
...
...
@@ -28,16 +28,16 @@
static
int
WINAPIV
myprintf
(
const
char
*
format
,
...)
{
__ms_
va_list
va
;
va_list
va
;
char
tmp
[
8192
];
DWORD
w
=
0
;
int
len
;
__ms_
va_start
(
va
,
format
);
va_start
(
va
,
format
);
len
=
vsnprintf
(
tmp
,
sizeof
(
tmp
),
format
,
va
);
if
(
len
>
0
)
WriteFile
(
GetStdHandle
(
STD_ERROR_HANDLE
),
tmp
,
len
,
&
w
,
NULL
);
__ms_
va_end
(
va
);
va_end
(
va
);
return
w
;
}
...
...
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