summaryrefslogtreecommitdiff
path: root/cppu/source/threadpool/threadpool.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'cppu/source/threadpool/threadpool.hxx')
-rw-r--r--cppu/source/threadpool/threadpool.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/cppu/source/threadpool/threadpool.hxx b/cppu/source/threadpool/threadpool.hxx
index a6b2fbc14de1..dc17d6490ac8 100644
--- a/cppu/source/threadpool/threadpool.hxx
+++ b/cppu/source/threadpool/threadpool.hxx
@@ -51,7 +51,7 @@ namespace cppu_threadpool {
{
if( a.getLength() >= 4 )
{
- return *(sal_Int32 *)a.getConstArray();
+ return *reinterpret_cast<sal_Int32 const *>(a.getConstArray());
}
return 0;
}