diff options
author | Robert C. Helling <helling@atdotde.de> | 2016-02-01 18:00:49 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2016-02-01 18:01:05 -0800 |
commit | c32f5cc2786744ef0f2971a40bfe00b11ca3d9e1 (patch) | |
tree | bf3cce593a1b3ac250830284cc8c2baa636ee610 /tests | |
parent | fdd5ee507c31a700ac8547efedd3b89eb9a74f85 (diff) | |
download | subsurface-c32f5cc2786744ef0f2971a40bfe00b11ca3d9e1.tar.gz |
Silence compiler warnings
Signed-off-by: Robert C. Helling <helling@atdotde.de>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/testunitconversion.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/testunitconversion.cpp b/tests/testunitconversion.cpp index 3adf975c4..8e64fdd85 100644 --- a/tests/testunitconversion.cpp +++ b/tests/testunitconversion.cpp @@ -17,8 +17,8 @@ void TestUnitConversion::testUnitConversions() QCOMPARE(IS_FP_SAME(psi_to_bar(14.6959488), 1.01325), true); QCOMPARE(psi_to_mbar(14.6959488), (long)1013); QCOMPARE(to_PSI((pressure_t){ 1013 }), (int)15); - QCOMPARE(IS_FP_SAME(bar_to_atm(1.013), 1), true); - QCOMPARE(IS_FP_SAME(mbar_to_atm(1013), 1), true); + QCOMPARE(IS_FP_SAME(bar_to_atm(1.013), 1.0), true); + QCOMPARE(IS_FP_SAME(mbar_to_atm(1013), 1.0), true); QCOMPARE(mbar_to_PSI(1013), (int)15); get_units(); } |