diff options
Diffstat (limited to 'shell/source/win32/zipfile/zipexcptn.cxx')
-rw-r--r-- | shell/source/win32/zipfile/zipexcptn.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/shell/source/win32/zipfile/zipexcptn.cxx b/shell/source/win32/zipfile/zipexcptn.cxx index 23e90e6c38de..c30d38907bdc 100644 --- a/shell/source/win32/zipfile/zipexcptn.cxx +++ b/shell/source/win32/zipfile/zipexcptn.cxx @@ -82,14 +82,14 @@ Win32Exception::~Win32Exception() throw() */ const char* Win32Exception::what() const throw() { - FormatMessage( + FormatMessageA( FORMAT_MESSAGE_ALLOCATE_BUFFER | FORMAT_MESSAGE_FROM_SYSTEM | FORMAT_MESSAGE_IGNORE_INSERTS, NULL, GetErrorCode(), MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT), // Default language - (LPTSTR) &m_MsgBuff, + (LPSTR) &m_MsgBuff, 0, NULL); |