diff options
author | nyamatongwe <unknown> | 2002-06-09 02:58:47 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2002-06-09 02:58:47 +0000 |
commit | bdbc6ab53dd4e602b7d7973954a78fb0ede785ed (patch) | |
tree | dc4bb61084fe7a7647b86df76e1eb89a1edf7558 /src | |
parent | 28e0c4bd3005f79d2cd6b260831d655c26f7a478 (diff) | |
download | scintilla-mirror-bdbc6ab53dd4e602b7d7973954a78fb0ede785ed.tar.gz |
Compatibility with 64 bit systems.
Diffstat (limited to 'src')
-rw-r--r-- | src/WindowAccessor.cxx | 6 |
1 files 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<long>(&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<long>(styleBuf)); + Platform::SendScintillaPointer(id, SCI_SETSTYLINGEX, validLen, + styleBuf); validLen = 0; } } |