summaryrefslogtreecommitdiff
path: root/include/m_string.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/m_string.h')
-rw-r--r--include/m_string.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/m_string.h b/include/m_string.h
index 5fe5990fb9..82e279f31f 100644
--- a/include/m_string.h
+++ b/include/m_string.h
@@ -607,8 +607,8 @@ public:
return _vscwprintf(pszFormat, args);
}
-#pragma warning (push)
-#pragma warning(disable : 4996)
+#pragma warning(push)
+#pragma warning(disable : 4995 4996)
static int __stdcall Format(LPWSTR pszBuffer, LPCWSTR pszFormat, va_list args)
{
return vswprintf(pszBuffer, pszFormat, args);
@@ -618,7 +618,7 @@ public:
{
return _vsnwprintf(pszBuffer, nLength, pszFormat, args);
}
-#pragma warning (pop)
+#pragma warning(pop)
static int __stdcall GetBaseTypeLength(LPCSTR pszSrc)
{