extensions/source/ole/unoobjw.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit a14153316098f415b0bad5056abd9f93dcdf37aa Author: Stephan Bergmann <sberg...@redhat.com> Date: Thu Mar 8 12:23:59 2018 +0100 loplugin:cstylecast (clang-cl) Change-Id: Ia9184268ed734bb0cee94c5eb870d3425bc47ac4 Reviewed-on: https://gerrit.libreoffice.org/50942 Tested-by: Jenkins <c...@libreoffice.org> Reviewed-by: Stephan Bergmann <sberg...@redhat.com> 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(); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits