diff options
author | nyamatongwe <unknown> | 2013-03-24 08:27:58 +1100 |
---|---|---|
committer | nyamatongwe <unknown> | 2013-03-24 08:27:58 +1100 |
commit | c9241f97107b411dd4e43f6f01f52dd6d723be98 (patch) | |
tree | 612785ec73910214b061f2f8ea78fc6eca418d8a | |
parent | 2189d4ff82cd7a48802fd5ce545a29d80e198adf (diff) | |
download | scintilla-mirror-c9241f97107b411dd4e43f6f01f52dd6d723be98.tar.gz |
Extra cast to avoid warning from g++ 4.8.
-rw-r--r-- | win32/ScintillaWin.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/ScintillaWin.cxx b/win32/ScintillaWin.cxx index 1b3465ead..4fbeda992 100644 --- a/win32/ScintillaWin.cxx +++ b/win32/ScintillaWin.cxx @@ -694,7 +694,7 @@ static UINT CodePageFromCharSet(DWORD characterSet, UINT documentCodePage) { return SC_CP_UTF8; } CHARSETINFO ci = { 0, 0, { { 0, 0, 0, 0 }, { 0, 0 } } }; - BOOL bci = ::TranslateCharsetInfo((DWORD*)characterSet, + BOOL bci = ::TranslateCharsetInfo(reinterpret_cast<DWORD*>(static_cast<uptr_t>(characterSet)), &ci, TCI_SRCCHARSET); UINT cp; |