summaryrefslogtreecommitdiff
path: root/extensions
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-05-29 11:37:43 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-05-29 11:37:43 +0200
commit9155210d0ad8c9c79c9a493527452b52e7aceb98 (patch)
tree8bda589ce9da25f57f25f2f4e174490ff9a13495 /extensions
parent0af0211b0f81f91727c81df909c0b41cedc4b088 (diff)
Fix Windows 64-bit build
Change-Id: Ie02b1b51463aa9d6c5e80001eb089909995d5b5b
Diffstat (limited to 'extensions')
-rw-r--r--extensions/source/ole/unoconversionutilities.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/source/ole/unoconversionutilities.hxx b/extensions/source/ole/unoconversionutilities.hxx
index 4b648692c318..1984d1003e0a 100644
--- a/extensions/source/ole/unoconversionutilities.hxx
+++ b/extensions/source/ole/unoconversionutilities.hxx
@@ -1831,7 +1831,7 @@ Any UnoConversionUtilities<T>::createOleObjectWrapper(VARIANT* pVar, const Type&
#ifdef __MINGW32__
params[0] <<= reinterpret_cast<sal_uInt32>( spUnknown.p );
#else
- params[0] <<= (sal_uInt32) spUnknown.p;
+ params[0] <<= reinterpret_cast<sal_uIntPtr>(spUnknown.p);
#endif
sal_Bool bDisp = pVar->vt == VT_DISPATCH ? sal_True : sal_False;
params[1].setValue( & bDisp, cppu::UnoType<bool>::get());