summaryrefslogtreecommitdiff
path: root/vcl/source/control/spinfld.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/control/spinfld.cxx')
-rw-r--r--vcl/source/control/spinfld.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/control/spinfld.cxx b/vcl/source/control/spinfld.cxx
index 090579322fbe..bc47d369d7ae 100644
--- a/vcl/source/control/spinfld.cxx
+++ b/vcl/source/control/spinfld.cxx
@@ -940,7 +940,7 @@ Size SpinField::CalcSize(sal_Int32 nChars) const
IMPL_LINK( SpinField, ImplTimeout, Timer*, pTimer, void )
{
- if ( pTimer->GetTimeout() == MouseSettings::GetButtonStartRepeat() )
+ if ( pTimer->GetTimeout() == static_cast<sal_uInt64>(MouseSettings::GetButtonStartRepeat()) )
{
pTimer->SetTimeout( GetSettings().GetMouseSettings().GetButtonRepeat() );
pTimer->Start();