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
2528482a
Commit
2528482a
authored
Feb 17, 2023
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wineusb.sys: Use standard va_list instead of __ms_va_list.
parent
d3a9fa18
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
wineusb.c
dlls/wineusb.sys/wineusb.c
+3
-3
No files found.
dlls/wineusb.sys/wineusb.c
View file @
2528482a
...
...
@@ -331,11 +331,11 @@ struct string_buffer
static
void
WINAPIV
append_id
(
struct
string_buffer
*
buffer
,
const
WCHAR
*
format
,
...)
{
__ms_
va_list
args
;
va_list
args
;
WCHAR
*
string
;
int
len
;
__ms_
va_start
(
args
,
format
);
va_start
(
args
,
format
);
len
=
_vsnwprintf
(
NULL
,
0
,
format
,
args
)
+
1
;
if
(
!
(
string
=
ExAllocatePool
(
PagedPool
,
(
buffer
->
len
+
len
)
*
sizeof
(
WCHAR
))))
...
...
@@ -354,7 +354,7 @@ static void WINAPIV append_id(struct string_buffer *buffer, const WCHAR *format,
buffer
->
string
=
string
;
buffer
->
len
+=
len
;
__ms_
va_end
(
args
);
va_end
(
args
);
}
static
void
get_device_id
(
const
struct
usb_device
*
device
,
struct
string_buffer
*
buffer
)
...
...
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