From 5f4a3252dfb66b77f6ed4acf0e4bc46a5c678744 Mon Sep 17 00:00:00 2001 From: mitchell Date: Sun, 5 Apr 2020 16:00:55 -0400 Subject: Backport: Widen types to size_t to match change from int to position of CallTipSetHlt in Scintilla.iface. Backport of changeset 8098:228c9f9aa839. --- src/ScintillaBase.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/ScintillaBase.cxx') 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(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(wParam); + ct.posStartCallTip = wParam; break; case SCI_CALLTIPSETHLT: - ct.SetHighlight(static_cast(wParam), static_cast(lParam)); + ct.SetHighlight(wParam, lParam); break; case SCI_CALLTIPSETBACK: -- cgit v1.2.3