From d10788164a667ca571dbb3b8dde456eaf199b1a1 Mon Sep 17 00:00:00 2001 From: orbitcowboy Date: Fri, 8 Jun 2018 14:41:56 +0200 Subject: [PATCH] windows.cfg: Added support for _locale_t --- cfg/windows.cfg | 1 + test/cfg/windows.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/cfg/windows.cfg b/cfg/windows.cfg index 44e4cdc15..52a41f37e 100644 --- a/cfg/windows.cfg +++ b/cfg/windows.cfg @@ -5418,6 +5418,7 @@ HFONT CreateFont( + diff --git a/test/cfg/windows.cpp b/test/cfg/windows.cpp index 84f0ef7b5..08755dde5 100644 --- a/test/cfg/windows.cpp +++ b/test/cfg/windows.cpp @@ -839,7 +839,7 @@ error_t uninitvar__strncpy_s_l(char *strDest, size_t numberOfElements, const cha // cppcheck-suppress uninitvar (void)_strncpy_s_l(strDest, numberOfElements, strSource, uninit_count, locale); // cppcheck-suppress uninitvar - (void)_strncpy_s_l(strDest, numberOfElements, strSource, uninit_count, uninit_locale); + (void)_strncpy_s_l(strDest, numberOfElements, strSource, count, uninit_locale); // no warning shall be shown for return _strncpy_s_l(strDest, numberOfElements, strSource, count, locale);