From e1184f131bbce6b5856d428743562021e0f69206 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Mon, 18 Apr 2016 09:43:58 +0100 Subject: cppcheck: cstyleCast Change-Id: Id3d126c1e5dc21d683c2717e5e16ca0cd64114a5 --- vcl/source/app/svmain.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'vcl') diff --git a/vcl/source/app/svmain.cxx b/vcl/source/app/svmain.cxx index bc0cbecea82c..8e0d1ec35497 100644 --- a/vcl/source/app/svmain.cxx +++ b/vcl/source/app/svmain.cxx @@ -610,8 +610,8 @@ static HANDLE hThreadID = 0; static unsigned __stdcall _threadmain( void *pArgs ) { OleInitialize( nullptr ); - ((WorkerThreadData*)pArgs)->pWorker( ((WorkerThreadData*)pArgs)->pThreadData ); - delete (WorkerThreadData*)pArgs; + static_cast(pArgs)->pWorker( static_cast(pArgs)->pThreadData ); + delete static_cast(pArgs); OleUninitialize(); hThreadID = 0; return 0; -- cgit