Module: wine Branch: master Commit: 2528482aef060919f798f7b7c0c46b83e00c4072 URL: https://gitlab.winehq.org/wine/wine/-/commit/2528482aef060919f798f7b7c0c46b8...
Author: Alexandre Julliard julliard@winehq.org Date: Fri Feb 17 11:27:03 2023 +0100
wineusb.sys: Use standard va_list instead of __ms_va_list.
---
dlls/wineusb.sys/wineusb.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/dlls/wineusb.sys/wineusb.c b/dlls/wineusb.sys/wineusb.c index f965241d59e..801393cacf6 100644 --- a/dlls/wineusb.sys/wineusb.c +++ b/dlls/wineusb.sys/wineusb.c @@ -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)