From 9ff3d2b3f875aad7d211996149ef6f0a376b78f6 Mon Sep 17 00:00:00 2001 From: Neil Hodgson Date: Fri, 2 May 2014 23:24:39 +1000 Subject: Type cast to make previous change compile on Cocoa. --- cocoa/ScintillaView.mm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'cocoa') 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(sender->mBackend), message, wParam, lParam); } - (sptr_t) message: (unsigned int) message wParam: (uptr_t) wParam lParam: (sptr_t) lParam -- cgit v1.2.3