Commit 2528482a authored by Alexandre Julliard's avatar Alexandre Julliard

wineusb.sys: Use standard va_list instead of __ms_va_list.

parent d3a9fa18
...@@ -331,11 +331,11 @@ struct string_buffer ...@@ -331,11 +331,11 @@ struct string_buffer
static void WINAPIV append_id(struct string_buffer *buffer, const WCHAR *format, ...) static void WINAPIV append_id(struct string_buffer *buffer, const WCHAR *format, ...)
{ {
__ms_va_list args; va_list args;
WCHAR *string; WCHAR *string;
int len; int len;
__ms_va_start(args, format); va_start(args, format);
len = _vsnwprintf(NULL, 0, format, args) + 1; len = _vsnwprintf(NULL, 0, format, args) + 1;
if (!(string = ExAllocatePool(PagedPool, (buffer->len + len) * sizeof(WCHAR)))) 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, ...@@ -354,7 +354,7 @@ static void WINAPIV append_id(struct string_buffer *buffer, const WCHAR *format,
buffer->string = string; buffer->string = string;
buffer->len += len; buffer->len += len;
__ms_va_end(args); va_end(args);
} }
static void get_device_id(const struct usb_device *device, struct string_buffer *buffer) static void get_device_id(const struct usb_device *device, struct string_buffer *buffer)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment