diff options
| author | mitchell <unknown> | 2018-05-06 21:07:35 -0400 |
|---|---|---|
| committer | mitchell <unknown> | 2018-05-06 21:07:35 -0400 |
| commit | 359afe2cdf9258d42bcce390e2f6e2d941252d9e (patch) | |
| tree | 9eb0d37fadfc0e40f3d84d3f31f3bce316f2ad7c /win32 | |
| parent | 7d2e686bc0582e8c6f0c2d8cb1fc349f24bd367c (diff) | |
| download | scintilla-mirror-359afe2cdf9258d42bcce390e2f6e2d941252d9e.tar.gz | |
Backport: Remove casts that are not needed since sptr_t and Sci::Position are the same type.
Backport of changeset 6735:ed52dd761341.
Diffstat (limited to 'win32')
| -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 2393554a8..9a44e71b6 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(); } |
