From bdbc6ab53dd4e602b7d7973954a78fb0ede785ed Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Sun, 9 Jun 2002 02:58:47 +0000 Subject: Compatibility with 64 bit systems. --- src/WindowAccessor.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/WindowAccessor.cxx b/src/WindowAccessor.cxx index e980b9a77..ce42534e7 100644 --- a/src/WindowAccessor.cxx +++ b/src/WindowAccessor.cxx @@ -42,7 +42,7 @@ void WindowAccessor::Fill(int position) { endPos = lenDoc; TextRange tr = {{startPos, endPos}, buf}; - Platform::SendScintilla(id, SCI_GETTEXTRANGE, 0, reinterpret_cast(&tr)); + Platform::SendScintillaPointer(id, SCI_GETTEXTRANGE, 0, &tr); } bool WindowAccessor::Match(int pos, const char *s) { @@ -125,8 +125,8 @@ void WindowAccessor::Flush() { startPos = extremePosition; lenDoc = -1; if (validLen > 0) { - Platform::SendScintilla(id, SCI_SETSTYLINGEX, validLen, - reinterpret_cast(styleBuf)); + Platform::SendScintillaPointer(id, SCI_SETSTYLINGEX, validLen, + styleBuf); validLen = 0; } } -- cgit v1.2.3