From 0a5c1be22a88094018e2741b38d743800018ca5e Mon Sep 17 00:00:00 2001 From: Tobias Madl Date: Tue, 10 Mar 2015 08:08:21 +0000 Subject: Scheduler: replaced max cast with SAL_MAX_UINT64 Change-Id: I9e8d5863c31187b373ff93d5a6e992a1281220b4 --- vcl/source/app/scheduler.cxx | 2 +- vcl/source/app/timer.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'vcl') diff --git a/vcl/source/app/scheduler.cxx b/vcl/source/app/scheduler.cxx index 56eaf12b6d31..816233209036 100644 --- a/vcl/source/app/scheduler.cxx +++ b/vcl/source/app/scheduler.cxx @@ -23,7 +23,7 @@ #include #include -#define MAX_TIMER_PERIOD ((sal_uInt64)0xFFFFFFFF) +#define MAX_TIMER_PERIOD SAL_MAX_UINT64 void ImplSchedulerData::Invoke() { diff --git a/vcl/source/app/timer.cxx b/vcl/source/app/timer.cxx index 7e631d1e7801..6c1724eb47ee 100644 --- a/vcl/source/app/timer.cxx +++ b/vcl/source/app/timer.cxx @@ -23,7 +23,7 @@ #include #include -#define MAX_TIMER_PERIOD ((sal_uInt64)0xFFFFFFFF) +#define MAX_TIMER_PERIOD SAL_MAX_UINT64 void Timer::ImplStartTimer( ImplSVData* pSVData, sal_uInt64 nMS ) { -- cgit