Mercurial > hg > orthanc
diff UnitTestsSources/SQLite.cpp @ 876:e21d1a5f5934
fix msvc warnings
author | jodogne |
---|---|
date | Wed, 11 Jun 2014 14:08:42 +0200 |
parents | 84513f2ee1f3 |
children |
line wrap: on
line diff
--- a/UnitTestsSources/SQLite.cpp Wed Jun 11 13:23:05 2014 +0200 +++ b/UnitTestsSources/SQLite.cpp Wed Jun 11 14:08:42 2014 +0200 @@ -316,7 +316,7 @@ ASSERT_EQ(42ll, s.ColumnInt64(1)); ASSERT_TRUE(s.Step()); ASSERT_EQ(SQLite::COLUMN_TYPE_FLOAT, s.GetColumnType(1)); - ASSERT_FLOAT_EQ(42.5, s.ColumnDouble(1)); + ASSERT_DOUBLE_EQ(42.5, s.ColumnDouble(1)); ASSERT_TRUE(s.Step()); ASSERT_EQ(SQLite::COLUMN_TYPE_TEXT, s.GetColumnType(1)); ASSERT_EQ("Hello", s.ColumnString(1));