summaryrefslogtreecommitdiff
path: root/vcl/osx/DragSource.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/osx/DragSource.cxx')
-rw-r--r--vcl/osx/DragSource.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/osx/DragSource.cxx b/vcl/osx/DragSource.cxx
index 593bf8bf44b1..5601d25e1b2f 100644
--- a/vcl/osx/DragSource.cxx
+++ b/vcl/osx/DragSource.cxx
@@ -172,7 +172,7 @@ void SAL_CALL DragSource::initialize(const Sequence< Any >& aArguments)
Any pNSView = aArguments[1];
sal_uInt64 tmp = 0;
pNSView >>= tmp;
- mView = (NSView*)tmp;
+ mView = reinterpret_cast<NSView*>(tmp);
/* All SalFrameView the base class for all VCL system views inherits from
NSView in order to get mouse and other events. This is the only way to