Module: wine Branch: master Commit: 9aa298ba69401e4b9f0003c4543ec0b0f8e2ea78 URL: http://source.winehq.org/git/wine.git/?a=commit;h=9aa298ba69401e4b9f0003c454...
Author: Alexandre Julliard julliard@winehq.org Date: Thu Nov 2 10:22:27 2017 +0100
xcopy: Use WINAPIV calling convention for variadic functions.
Signed-off-by: Alexandre Julliard julliard@winehq.org
---
programs/xcopy/xcopy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/programs/xcopy/xcopy.c b/programs/xcopy/xcopy.c index 5c2f7ca..a173cc1 100644 --- a/programs/xcopy/xcopy.c +++ b/programs/xcopy/xcopy.c @@ -94,7 +94,7 @@ static WCHAR *XCOPY_LoadMessage(UINT id) { * and hence required WriteConsoleW to output it, however if file i/o is * redirected, it needs to be WriteFile'd using OEM (not ANSI) format * ========================================================================= */ -static int __cdecl XCOPY_wprintf(const WCHAR *format, ...) { +static int WINAPIV XCOPY_wprintf(const WCHAR *format, ...) {
static WCHAR *output_bufW = NULL; static char *output_bufA = NULL;