diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2013-04-19 17:08:08 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2013-04-19 17:08:08 +0200 |
commit | 877f55490f7105e2b1a40cd4bd9860fe8be2aebf (patch) | |
tree | 595d43589fa7a7f3a3605af19df76ab1b26c25c3 /tools | |
parent | ec49915442055f5b8f0055f2c250a0da096a3c1b (diff) |
Wrap large values in SAL_CONST_INT64
Change-Id: I9a263e2232d63e5794f757cab39b93e13c7d159f
Diffstat (limited to 'tools')
-rw-r--r-- | tools/source/datetime/ttime.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/source/datetime/ttime.cxx b/tools/source/datetime/ttime.cxx index 2841bb119173..b10d08691086 100644 --- a/tools/source/datetime/ttime.cxx +++ b/tools/source/datetime/ttime.cxx @@ -41,9 +41,9 @@ extern long altzone; namespace { - const sal_Int64 secMask = 1000000000; - const sal_Int64 minMask = 100000000000; - const sal_Int64 hourMask = 10000000000000; + const sal_Int64 secMask = SAL_CONST_INT64(1000000000); + const sal_Int64 minMask = SAL_CONST_INT64(100000000000); + const sal_Int64 hourMask = SAL_CONST_INT64(10000000000000); const sal_Int64 nanoSecInSec = 1000000000; const sal_Int16 secInMin = 60; |