From 2528482aef060919f798f7b7c0c46b83e00c4072 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Fri, 17 Feb 2023 11:27:03 +0100 Subject: [PATCH] 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)