summaryrefslogtreecommitdiff
path: root/extensions
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-03-08 12:23:59 +0100
committerStephan Bergmann <sbergman@redhat.com>2018-03-08 13:46:32 +0100
commita14153316098f415b0bad5056abd9f93dcdf37aa (patch)
tree907ac19d6634ea9622099c849c6f60266ce87e48 /extensions
parente151ce85d1c219a94365af6eab6cc5fc54a0ea7e (diff)
loplugin:cstylecast (clang-cl)
Change-Id: Ia9184268ed734bb0cee94c5eb870d3425bc47ac4 Reviewed-on: https://gerrit.libreoffice.org/50942 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'extensions')
-rw-r--r--extensions/source/ole/unoobjw.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/source/ole/unoobjw.cxx b/extensions/source/ole/unoobjw.cxx
index a9d2a4a4cd06..dab94a65385e 100644
--- a/extensions/source/ole/unoobjw.cxx
+++ b/extensions/source/ole/unoobjw.cxx
@@ -816,7 +816,7 @@ STDMETHODIMP InterfaceOleWrapper_Impl::Invoke(DISPID dispidMember,
// Pass missing (hopefully optional) parameters as Any().
InvocationInfo aInvocationInfo;
getInvocationInfoForCall(dispidMember, aInvocationInfo);
- if (pdispparams->cArgs < (UINT)aInvocationInfo.aParamTypes.getLength())
+ if (pdispparams->cArgs < sal_uInt32(aInvocationInfo.aParamTypes.getLength()))
{
params.realloc(aInvocationInfo.aParamTypes.getLength());
Any* pParams = params.getArray();