[Libreoffice-commits] .: sc/source

Eike Rathke erack at kemper.freedesktop.org
Wed Sep 7 14:00:48 PDT 2011


 sc/source/core/tool/interpr1.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit da06488e3188d9de43dc287d3a84a4aa4bd42c10
Author: Eike Rathke <erack at erack.de>
Date:   Wed Sep 7 22:58:15 2011 +0200

    use SAL_CONST_UINT64 with such large values

diff --git a/sc/source/core/tool/interpr1.cxx b/sc/source/core/tool/interpr1.cxx
index 3d6b5c3..8257afa 100644
--- a/sc/source/core/tool/interpr1.cxx
+++ b/sc/source/core/tool/interpr1.cxx
@@ -77,7 +77,7 @@
 
 #define SC_DOUBLE_MAXVALUE  1.7e307
 
-static const sal_uInt64 n2power48 = 281474976710656;  // 2^48
+static const sal_uInt64 n2power48 = SAL_CONST_UINT64( 281474976710656); // 2^48
 
 IMPL_FIXEDMEMPOOL_NEWDEL( ScTokenStack, 8, 4 )
 IMPL_FIXEDMEMPOOL_NEWDEL( ScInterpreter, 32, 16 )


More information about the Libreoffice-commits mailing list