aboutsummaryrefslogtreecommitdiff
path: root/c/common.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'c/common.cpp')
-rw-r--r--c/common.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/c/common.cpp b/c/common.cpp
index d109081..c485f5d 100644
--- a/c/common.cpp
+++ b/c/common.cpp
@@ -10,7 +10,7 @@ Win32Error::Win32Error(const DWORD dwErr)
NULL,
m_dwErr,
MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT),
- (LPSTR)&m_szMsg,
+ (char*)&m_szMsg,
0, NULL
);
}