aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorNeil Hodgson <nyamatongwe@gmail.com>2014-05-02 23:24:39 +1000
committerNeil Hodgson <nyamatongwe@gmail.com>2014-05-02 23:24:39 +1000
commitcf7e56de2979ad99d6b10b021b8e9e0535712507 (patch)
tree64cc2cb9c59db70ad3beb4b1105d3196ff824d3e
parent42ce770c6497f865ce34a93f63cc376c3152f3c4 (diff)
downloadscintilla-mirror-cf7e56de2979ad99d6b10b021b8e9e0535712507.tar.gz
Type cast to make previous change compile on Cocoa.
-rw-r--r--cocoa/ScintillaView.mm3
1 files changed, 2 insertions, 1 deletions
diff --git a/cocoa/ScintillaView.mm b/cocoa/ScintillaView.mm
index c69bbab55..bca3b167f 100644
--- a/cocoa/ScintillaView.mm
+++ b/cocoa/ScintillaView.mm
@@ -1366,7 +1366,8 @@ static NSCursor *cursorFromEnum(Window::Cursor cursor)
+ (sptr_t) directCall: (ScintillaView*) sender message: (unsigned int) message wParam: (uptr_t) wParam
lParam: (sptr_t) lParam
{
- return ScintillaCocoa::DirectFunction(sender->mBackend, message, wParam, lParam);
+ return ScintillaCocoa::DirectFunction(
+ reinterpret_cast<sptr_t>(sender->mBackend), message, wParam, lParam);
}
- (sptr_t) message: (unsigned int) message wParam: (uptr_t) wParam lParam: (sptr_t) lParam