summaryrefslogtreecommitdiff
path: root/vcl/win
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-10-27 16:07:30 +0200
committerStephan Bergmann <sbergman@redhat.com>2017-10-27 16:08:46 +0200
commit6f95909b3351451f96fb40ef6b2c21580d7a4c64 (patch)
treed333d9ed419648241f593c7aa7832ef7ef7a26f4 /vcl/win
parent8959043f82e1d00abead9cbd809138d4f6521b14 (diff)
loplugin:redundantcast (clang-cl)
Change-Id: Ib6b314cc94d57ef9a643c14440427a38a9de15fe
Diffstat (limited to 'vcl/win')
-rw-r--r--vcl/win/app/saltimer.cxx2
1 files changed, 1 insertions, 1 deletions
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<WinSalTimer*>( data );
+ WinSalTimer *pTimer = static_cast<WinSalTimer*>( data );
BOOL const ret = PostMessageW(
GetSalData()->mpInstance->mhComWnd, SAL_MSG_TIMER_CALLBACK,
static_cast<WPARAM>(pTimer->GetNextEventVersion()), 0 );