Alexandre Julliard : expand: Use the standard va_list instead of __ms_va_list.
Alexandre Julliard
julliard at winehq.org
Mon Oct 25 16:30:05 CDT 2021
Module: wine
Branch: master
Commit: f0fcb195251aad7c4e9bfa809037d741722d1e20
URL: https://source.winehq.org/git/wine.git/?a=commit;h=f0fcb195251aad7c4e9bfa809037d741722d1e20
Author: Alexandre Julliard <julliard at winehq.org>
Date: Mon Oct 25 11:00:40 2021 +0200
expand: Use the standard va_list instead of __ms_va_list.
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
programs/expand/expand.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/programs/expand/expand.c b/programs/expand/expand.c
index fe2b4a1c81e..18e36d77a6b 100644
--- a/programs/expand/expand.c
+++ b/programs/expand/expand.c
@@ -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;
}
More information about the wine-cvs
mailing list