[Libreoffice-commits] core.git: dbaccess/qa

Norbert Thiebaud nthiebaud at gmail.com
Thu Sep 12 22:04:40 PDT 2013


 dbaccess/qa/unit/firebird.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 24f277a4ad53a8655902d5fb3aab05643d90f57e
Author: Norbert Thiebaud <nthiebaud at gmail.com>
Date:   Thu Sep 12 17:26:38 2013 -0500

    Do not use int64 litteral without the proper wrapping
    
    Change-Id: I879a47720f337b57038ac3207cb466aa42d0beeb

diff --git a/dbaccess/qa/unit/firebird.cxx b/dbaccess/qa/unit/firebird.cxx
index 183d83d..78b7e66 100644
--- a/dbaccess/qa/unit/firebird.cxx
+++ b/dbaccess/qa/unit/firebird.cxx
@@ -75,7 +75,7 @@ void FirebirdTest::testIntegerDatabase()
         xRow->getShort(xColumnLocate->findColumn("_SMALLINT")));
     CPPUNIT_ASSERT(sal_Int32(-2100000000) ==
         xRow->getInt(xColumnLocate->findColumn("_INT")));
-    CPPUNIT_ASSERT(sal_Int64(-9000000000000000000) ==
+    CPPUNIT_ASSERT(SAL_CONST_INT64(-9000000000000000000) ==
         xRow->getLong(xColumnLocate->findColumn("_BIGINT")));
     CPPUNIT_ASSERT(OUString("5") ==
         xRow->getString(xColumnLocate->findColumn("_CHAR")));


More information about the Libreoffice-commits mailing list