summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
Diffstat (limited to 'vcl')
-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 );