[Libreoffice-commits] core.git: tools/source
Stephan Bergmann
sbergman at redhat.com
Fri Apr 19 08:08:29 PDT 2013
tools/source/datetime/ttime.cxx | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
New commits:
commit 877f55490f7105e2b1a40cd4bd9860fe8be2aebf
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Fri Apr 19 17:08:08 2013 +0200
Wrap large values in SAL_CONST_INT64
Change-Id: I9a263e2232d63e5794f757cab39b93e13c7d159f
diff --git a/tools/source/datetime/ttime.cxx b/tools/source/datetime/ttime.cxx
index 2841bb1..b10d086 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;
More information about the Libreoffice-commits
mailing list