summaryrefslogtreecommitdiff
path: root/cppu/source/threadpool/threadident.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'cppu/source/threadpool/threadident.cxx')
-rw-r--r--cppu/source/threadpool/threadident.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/cppu/source/threadpool/threadident.cxx b/cppu/source/threadpool/threadident.cxx
index eaf5bc61156e..ce7fdc0efc68 100644
--- a/cppu/source/threadpool/threadident.cxx
+++ b/cppu/source/threadpool/threadident.cxx
@@ -46,7 +46,7 @@ static inline void createLocalId( sal_Sequence **ppThreadId )
(*ppThreadId)->elements[1] = (id >> 8) & 0xFF;
(*ppThreadId)->elements[2] = (id >> 16) & 0xFF;
(*ppThreadId)->elements[3] = (id >> 24) & 0xFF;
- rtl_getGlobalProcessId( (sal_uInt8 * ) &( (*ppThreadId)->elements[4]) );
+ rtl_getGlobalProcessId( reinterpret_cast<sal_uInt8 *>(&(*ppThreadId)->elements[4]) );
}