From 83d6249c412aaaa89723ff7a5ce12fab9a3317ad Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Thu, 2 Nov 2017 10:21:15 +0100 Subject: [PATCH] netstat: Use WINAPIV calling convention for variadic functions. Signed-off-by: Alexandre Julliard --- programs/netstat/netstat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/programs/netstat/netstat.c b/programs/netstat/netstat.c index 611249747e7..8fe59000935 100644 --- a/programs/netstat/netstat.c +++ b/programs/netstat/netstat.c @@ -70,7 +70,7 @@ static const WCHAR tcpstatesW[][16] = { * 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 NETSTAT_wprintf(const WCHAR *format, ...) +static int WINAPIV NETSTAT_wprintf(const WCHAR *format, ...) { static WCHAR *output_bufW = NULL; static char *output_bufA = NULL;