aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormitchell <unknown>2020-06-02 11:47:27 -0400
committermitchell <unknown>2020-06-02 11:47:27 -0400
commit60b53eebcce8b069bc9d9c863f9fa283416eeacd (patch)
treeab3f101a6e8d1f5d76672ed0681d1b5a46f6534e
parent6b6e98d6642b630bd04dee13ef6d8fae33c200c8 (diff)
downloadscintilla-mirror-60b53eebcce8b069bc9d9c863f9fa283416eeacd.tar.gz
Fixed improper cast in gcc-4.8.
-rw-r--r--lexers/LexLPeg.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/lexers/LexLPeg.cxx b/lexers/LexLPeg.cxx
index 60626fd3b..a78189769 100644
--- a/lexers/LexLPeg.cxx
+++ b/lexers/LexLPeg.cxx
@@ -806,7 +806,7 @@ public:
auto lParam = reinterpret_cast<sptr_t>(arg);
switch(code) {
case SCI_GETDIRECTFUNCTION:
- SS = reinterpret_cast<SciFnDirect>(arg);
+ SS = reinterpret_cast<SciFnDirect>(lParam);
return nullptr;
case SCI_SETDOCPOINTER:
sci = lParam;