From c9241f97107b411dd4e43f6f01f52dd6d723be98 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Sun, 24 Mar 2013 08:27:58 +1100 Subject: Extra cast to avoid warning from g++ 4.8. --- win32/ScintillaWin.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(static_cast(characterSet)), &ci, TCI_SRCCHARSET); UINT cp; -- cgit v1.2.3