diff options
Diffstat (limited to 'include/m_string.h')
-rw-r--r-- | include/m_string.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/m_string.h b/include/m_string.h index 4619222fe9..5fe5990fb9 100644 --- a/include/m_string.h +++ b/include/m_string.h @@ -607,18 +607,18 @@ public: return _vscwprintf(pszFormat, args);
}
- static int __stdcall Format(LPWSTR pszBuffer, LPCWSTR pszFormat, va_list args)
- {
#pragma warning (push)
#pragma warning(disable : 4996)
- return vswprintf(pszBuffer, pszFormat, args); //!!!!!!!!!
-#pragma warning (pop)
+ static int __stdcall Format(LPWSTR pszBuffer, LPCWSTR pszFormat, va_list args)
+ {
+ return vswprintf(pszBuffer, pszFormat, args);
}
static int __stdcall Format(LPWSTR pszBuffer, size_t nLength, LPCWSTR pszFormat, va_list args)
{
return _vsnwprintf(pszBuffer, nLength, pszFormat, args);
}
+#pragma warning (pop)
static int __stdcall GetBaseTypeLength(LPCSTR pszSrc)
{
|