Correct typing of __cdecl declaration of the vsn*printf family.
git-svn-id: svn+ssh://svn.code.sf.net/p/mingw-w64/code/trunk@309 4407c894-4637-0410-b4f5-ada5f102cad1
diff --git a/mingw-w64-crt/stdio/vsnwprintf.c b/mingw-w64-crt/stdio/vsnwprintf.c
index 2cdfc08..33a7e2b 100644
--- a/mingw-w64-crt/stdio/vsnwprintf.c
+++ b/mingw-w64-crt/stdio/vsnwprintf.c
@@ -7,7 +7,7 @@
#include <stdarg.h>
#include <wchar.h>
-int vsnwprintf(wchar_t *buffer, size_t n, const wchar_t * format, va_list argptr)
+int __cdecl vsnwprintf(wchar_t *buffer, size_t n, const wchar_t * format, va_list argptr)
{
return _vsnwprintf(buffer, n, format, argptr);
}