aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ScintillaBase.cxx
diff options
context:
space:
mode:
authormitchell <unknown>2020-04-05 16:00:55 -0400
committermitchell <unknown>2020-04-05 16:00:55 -0400
commit5f4a3252dfb66b77f6ed4acf0e4bc46a5c678744 (patch)
treeb7216cc0c52046816f7bc5f060b354dfc010fe58 /src/ScintillaBase.cxx
parentb467fbec5c0b13bb71444191b250b50677238361 (diff)
downloadscintilla-mirror-5f4a3252dfb66b77f6ed4acf0e4bc46a5c678744.tar.gz
Backport: Widen types to size_t to match change from int to position of CallTipSetHlt
in Scintilla.iface. Backport of changeset 8098:228c9f9aa839.
Diffstat (limited to 'src/ScintillaBase.cxx')
-rw-r--r--src/ScintillaBase.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ScintillaBase.cxx b/src/ScintillaBase.cxx
index 7c708d0f1..ca67d7475 100644
--- a/src/ScintillaBase.cxx
+++ b/src/ScintillaBase.cxx
@@ -1005,7 +1005,7 @@ sptr_t ScintillaBase::WndProc(unsigned int iMessage, uptr_t wParam, sptr_t lPara
return ac.GetTypesep();
case SCI_CALLTIPSHOW:
- CallTipShow(LocationFromPosition(static_cast<Sci::Position>(wParam)),
+ CallTipShow(LocationFromPosition(wParam),
ConstCharPtrFromSPtr(lParam));
break;
@@ -1020,11 +1020,11 @@ sptr_t ScintillaBase::WndProc(unsigned int iMessage, uptr_t wParam, sptr_t lPara
return ct.posStartCallTip;
case SCI_CALLTIPSETPOSSTART:
- ct.posStartCallTip = static_cast<Sci::Position>(wParam);
+ ct.posStartCallTip = wParam;
break;
case SCI_CALLTIPSETHLT:
- ct.SetHighlight(static_cast<int>(wParam), static_cast<int>(lParam));
+ ct.SetHighlight(wParam, lParam);
break;
case SCI_CALLTIPSETBACK: