Kaydet (Commit) 24f277a4 authored tarafından Norbert Thiebaud's avatar Norbert Thiebaud

Do not use int64 litteral without the proper wrapping

Change-Id: I879a47720f337b57038ac3207cb466aa42d0beeb
üst c86b1a5c
...@@ -75,7 +75,7 @@ void FirebirdTest::testIntegerDatabase() ...@@ -75,7 +75,7 @@ void FirebirdTest::testIntegerDatabase()
xRow->getShort(xColumnLocate->findColumn("_SMALLINT"))); xRow->getShort(xColumnLocate->findColumn("_SMALLINT")));
CPPUNIT_ASSERT(sal_Int32(-2100000000) == CPPUNIT_ASSERT(sal_Int32(-2100000000) ==
xRow->getInt(xColumnLocate->findColumn("_INT"))); xRow->getInt(xColumnLocate->findColumn("_INT")));
CPPUNIT_ASSERT(sal_Int64(-9000000000000000000) == CPPUNIT_ASSERT(SAL_CONST_INT64(-9000000000000000000) ==
xRow->getLong(xColumnLocate->findColumn("_BIGINT"))); xRow->getLong(xColumnLocate->findColumn("_BIGINT")));
CPPUNIT_ASSERT(OUString("5") == CPPUNIT_ASSERT(OUString("5") ==
xRow->getString(xColumnLocate->findColumn("_CHAR"))); xRow->getString(xColumnLocate->findColumn("_CHAR")));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment