diff options
-rw-r--r-- | vcl/source/app/scheduler.cxx | 2 | ||||
-rw-r--r-- | vcl/source/app/timer.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
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 <vcl/timer.hxx> #include <saltimer.hxx> -#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 <svdata.hxx> #include <salinst.hxx> -#define MAX_TIMER_PERIOD ((sal_uInt64)0xFFFFFFFF) +#define MAX_TIMER_PERIOD SAL_MAX_UINT64 void Timer::ImplStartTimer( ImplSVData* pSVData, sal_uInt64 nMS ) { |