Alexandre Julliard : xcopy: Use WINAPIV calling convention for variadic functions.

Alexandre Julliard julliard at winehq.org
Thu Nov 2 17:28:48 CDT 2017


Module: wine
Branch: master
Commit: 9aa298ba69401e4b9f0003c4543ec0b0f8e2ea78
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=9aa298ba69401e4b9f0003c4543ec0b0f8e2ea78

Author: Alexandre Julliard <julliard at 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 at 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;




More information about the wine-cvs mailing list