Commit d34ae79d authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

stdio.h: Fix calling convention of variadic inline functions.

parent aabfd2dd
......@@ -115,7 +115,7 @@ static inline int __cdecl _vsnwprintf_s(wchar_t *buffer, size_t size, size_t cou
return ret < 0 ? -1 : ret;
}
static inline int __cdecl _snwprintf_s(wchar_t *buffer, size_t size, size_t count, const wchar_t *format, ...)
static inline int WINAPIV _snwprintf_s(wchar_t *buffer, size_t size, size_t count, const wchar_t *format, ...)
{
int ret;
__ms_va_list args;
......
......@@ -174,7 +174,7 @@ static inline int __cdecl _vsnprintf_s(char *buffer, size_t size, size_t count,
return ret < 0 ? -1 : ret;
}
static inline int __cdecl _snprintf_s(char *buffer, size_t size, size_t count, const char *format, ...)
static inline int WINAPIV _snprintf_s(char *buffer, size_t size, size_t count, const char *format, ...)
{
int ret;
__ms_va_list args;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment