diff --git a/programs/attrib/attrib.c b/programs/attrib/attrib.c index 0938cb8307d..a5742048bcd 100644 --- a/programs/attrib/attrib.c +++ b/programs/attrib/attrib.c @@ -48,7 +48,7 @@ static WCHAR *ATTRIB_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 ATTRIB_wprintf(const WCHAR *format, ...) +static int WINAPIV ATTRIB_wprintf(const WCHAR *format, ...) { static WCHAR *output_bufW = NULL; static char *output_bufA = NULL;