taskkill: Use WINAPIV calling convention for variadic functions.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alexandre Julliard 2017-11-02 10:22:10 +01:00
parent a31e62a267
commit 6c4cea952f
1 changed files with 2 additions and 2 deletions

View File

@ -74,7 +74,7 @@ static int taskkill_vprintfW(const WCHAR *msg, __ms_va_list va_args)
return count; return count;
} }
static int CDECL taskkill_printfW(const WCHAR *msg, ...) static int WINAPIV taskkill_printfW(const WCHAR *msg, ...)
{ {
__ms_va_list va_args; __ms_va_list va_args;
int len; int len;
@ -86,7 +86,7 @@ static int CDECL taskkill_printfW(const WCHAR *msg, ...)
return len; return len;
} }
static int CDECL taskkill_message_printfW(int msg, ...) static int WINAPIV taskkill_message_printfW(int msg, ...)
{ {
__ms_va_list va_args; __ms_va_list va_args;
WCHAR msg_buffer[8192]; WCHAR msg_buffer[8192];