diff options
author | Neil <nyamatongwe@gmail.com> | 2018-04-25 15:16:49 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2018-04-25 15:16:49 +1000 |
commit | df48b6485e268fb3781867728d37c0b1df948d28 (patch) | |
tree | a80d19d983d34ae1ae54876fd6b4df6e0bbfe7c6 /win32/ScintillaWin.cxx | |
parent | cd0e7d81d111bfc38626f58859681a0b0cea160f (diff) | |
download | scintilla-mirror-df48b6485e268fb3781867728d37c0b1df948d28.tar.gz |
Remove casts that are not needed since sptr_t and Sci::Position are the same type.
Diffstat (limited to 'win32/ScintillaWin.cxx')
-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 57299a053..dcb7d9334 100644 --- a/win32/ScintillaWin.cxx +++ b/win32/ScintillaWin.cxx @@ -1673,7 +1673,7 @@ sptr_t ScintillaWin::WndProc(unsigned int iMessage, uptr_t wParam, sptr_t lParam case EM_SETSEL: { Sci::Position nStart = static_cast<Sci::Position>(wParam); - Sci::Position nEnd = static_cast<Sci::Position>(lParam); + Sci::Position nEnd = lParam; if (nStart == 0 && nEnd == -1) { nEnd = pdoc->Length(); } |