diff options
author | Tobias Madl <tobias.madl.dev@gmail.com> | 2015-03-10 08:08:21 +0000 |
---|---|---|
committer | Tobias Madl <tobias.madl.dev@gmail.com> | 2015-03-10 09:10:37 +0100 |
commit | 0a5c1be22a88094018e2741b38d743800018ca5e (patch) | |
tree | deefaeeafb5bb0a9ba9d7f79428d6ca6082234df /vcl/source | |
parent | 077043eb2e41471897fc5d415fa2f6a50b91ed92 (diff) |
Scheduler: replaced max cast with SAL_MAX_UINT64
Change-Id: I9e8d5863c31187b373ff93d5a6e992a1281220b4
Diffstat (limited to 'vcl/source')
-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 ) { |