From 6f95909b3351451f96fb40ef6b2c21580d7a4c64 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Fri, 27 Oct 2017 16:07:30 +0200 Subject: loplugin:redundantcast (clang-cl) Change-Id: Ib6b314cc94d57ef9a643c14440427a38a9de15fe --- vcl/win/app/saltimer.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vcl/win') diff --git a/vcl/win/app/saltimer.cxx b/vcl/win/app/saltimer.cxx index 9c67e841956e..d23c7344ef31 100644 --- a/vcl/win/app/saltimer.cxx +++ b/vcl/win/app/saltimer.cxx @@ -133,7 +133,7 @@ void CALLBACK SalTimerProc(PVOID data, BOOLEAN) { __try { - WinSalTimer *pTimer = reinterpret_cast( data ); + WinSalTimer *pTimer = static_cast( data ); BOOL const ret = PostMessageW( GetSalData()->mpInstance->mhComWnd, SAL_MSG_TIMER_CALLBACK, static_cast(pTimer->GetNextEventVersion()), 0 ); -- cgit