--- mingw-w64-crt/stdio/ucrt___local_stdio_printf_options.c | 2 +- mingw-w64-crt/stdio/ucrt___local_stdio_scanf_options.c | 2 +- mingw-w64-headers/crt/corecrt_stdio_config.h | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/mingw-w64-crt/stdio/ucrt___local_stdio_printf_options.c b/mingw-w64-crt/stdio/ucrt___local_stdio_printf_options.c index 986c4fd10489..ee98ac1ac827 100644 --- a/mingw-w64-crt/stdio/ucrt___local_stdio_printf_options.c +++ b/mingw-w64-crt/stdio/ucrt___local_stdio_printf_options.c @@ -10,6 +10,6 @@ static unsigned __int64 options = _CRT_INTERNAL_PRINTF_LEGACY_WIDE_SPECIFIERS | _CRT_INTERNAL_PRINTF_STANDARD_ROUNDING; -unsigned __int64* __local_stdio_printf_options(void) { +unsigned __int64* __cdecl __local_stdio_printf_options(void) { return &options; } diff --git a/mingw-w64-crt/stdio/ucrt___local_stdio_scanf_options.c b/mingw-w64-crt/stdio/ucrt___local_stdio_scanf_options.c index 2dbd324560cf..e10a83192b90 100644 --- a/mingw-w64-crt/stdio/ucrt___local_stdio_scanf_options.c +++ b/mingw-w64-crt/stdio/ucrt___local_stdio_scanf_options.c @@ -10,6 +10,6 @@ static unsigned __int64 options = _CRT_INTERNAL_SCANF_LEGACY_WIDE_SPECIFIERS; -unsigned __int64* __local_stdio_scanf_options(void) { +unsigned __int64* __cdecl __local_stdio_scanf_options(void) { return &options; } diff --git a/mingw-w64-headers/crt/corecrt_stdio_config.h b/mingw-w64-headers/crt/corecrt_stdio_config.h index 7ac0e6e03402..366d90a6d9b4 100644 --- a/mingw-w64-headers/crt/corecrt_stdio_config.h +++ b/mingw-w64-headers/crt/corecrt_stdio_config.h @@ -13,8 +13,8 @@ extern "C" { #endif -unsigned __int64* __local_stdio_printf_options(void); -unsigned __int64* __local_stdio_scanf_options(void); +unsigned __int64* __cdecl __local_stdio_printf_options(void); +unsigned __int64* __cdecl __local_stdio_scanf_options(void); #define _CRT_INTERNAL_PRINTF_LEGACY_VSPRINTF_NULL_TERMINATION 0x0001ULL #define _CRT_INTERNAL_PRINTF_STANDARD_SNPRINTF_BEHAVIOR 0x0002ULL -- 2.20.1 _______________________________________________ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public