From 41b9d58fb94234964d378e27e6a5a49db9023277 Mon Sep 17 00:00:00 2001 From: Norbert Thiebaud Date: Mon, 18 Feb 2013 20:35:25 -0600 Subject: coverity#982817 Out-of-bounds access Not sure if it just is coverity's parser that get confused or if the compiler can also be confused in that case.. but it does not hurt to be explicit, just in case. Change-Id: Iba9df7122584272645e7fb241c3f5fd2ed4481d1 Reviewed-on: https://gerrit.libreoffice.org/2250 Reviewed-by: Norbert Thiebaud Tested-by: Norbert Thiebaud --- toolkit/source/awt/vclxtoolkit.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'toolkit') diff --git a/toolkit/source/awt/vclxtoolkit.cxx b/toolkit/source/awt/vclxtoolkit.cxx index 67bd7c52aab2..fb167e5f5f02 100644 --- a/toolkit/source/awt/vclxtoolkit.cxx +++ b/toolkit/source/awt/vclxtoolkit.cxx @@ -907,7 +907,7 @@ Window* VCLXToolkit::ImplCreateWindow( VCLXWindow** ppNewComp, rtl_getGlobalProcessId( (sal_uInt8*)processID ); - ::com::sun::star::uno::Sequence processIdSeq(processID, 16); + ::com::sun::star::uno::Sequence processIdSeq((sal_Int8*)processID, 16); ::com::sun::star::uno::Any anyHandle = xSystemDepParent->getWindowHandle(processIdSeq, SYSTEM_DEPENDENT_TYPE); -- cgit v1.2.3