On Wed, 8 May 2019, Liu Hao wrote:
在 2019/5/7 下午2:42, Martin Storsjö 写道:
Signed-off-by: Martin Storsjö <mar...@martin.st>
---
This also should be applied on the v6.x branch.
---
mingw-w64-crt/stdio/ucrt__vsnwprintf.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mingw-w64-crt/stdio/ucrt__vsnwprintf.c
b/mingw-w64-crt/stdio/ucrt__vsnwprintf.c
index 4a8f275ba..bf9f4de2a 100644
--- a/mingw-w64-crt/stdio/ucrt__vsnwprintf.c
+++ b/mingw-w64-crt/stdio/ucrt__vsnwprintf.c
@@ -10,6 +10,6 @@
int __cdecl _vsnwprintf(wchar_t * __restrict__ _Dest,size_t _Count,const
wchar_t * __restrict__ _Format,va_list _Args) __MINGW_ATTRIB_DEPRECATED_SEC_WARN
{
- return
__stdio_common_vsprintf(UCRTBASE_PRINTF_LEGACY_VSPRINTF_NULL_TERMINATION,
_Dest, _Count, _Format, NULL, _Args);
+ return
__stdio_common_vswprintf(UCRTBASE_PRINTF_LEGACY_VSPRINTF_NULL_TERMINATION,
_Dest, _Count, _Format, NULL, _Args);
}
int __cdecl (*__MINGW_IMP_SYMBOL(_vsnwprintf))(wchar_t *__restrict__, size_t,
const wchar_t *__restrict__, va_list) = _vsnwprintf;
Looks good to me.
Thanks! Pushed and backported to v6.x.
// Martin
_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public