From dfc04884f6549f7c93b55e8041f5c603805f1d1b Mon Sep 17 00:00:00 2001 From: Shane Carr Date: Wed, 25 Apr 2018 01:27:38 +0000 Subject: [PATCH] ICU-13725 Fixing ambiguous assertEquals call on Linux. X-SVN-Rev: 41273 --- icu4c/source/test/intltest/numbertest_decimalquantity.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/icu4c/source/test/intltest/numbertest_decimalquantity.cpp b/icu4c/source/test/intltest/numbertest_decimalquantity.cpp index cb34e2605cc..cd62ac7ee9b 100644 --- a/icu4c/source/test/intltest/numbertest_decimalquantity.cpp +++ b/icu4c/source/test/intltest/numbertest_decimalquantity.cpp @@ -367,7 +367,7 @@ void DecimalQuantityTest::testMaxDigits() { assertEquals("Should trim, toPlainString", "76.54", dq.toPlainString()); assertEquals("Should trim, toScientificString", "7.654E+1", dq.toScientificString()); assertEquals("Should trim, toLong", 76LL, dq.toLong(true)); - assertEquals("Should trim, toFractionLong", 54LL, dq.toFractionLong(false)); + assertEquals("Should trim, toFractionLong", (int64_t) 54, (int64_t) dq.toFractionLong(false)); assertEquals("Should trim, toDouble", 76.54, dq.toDouble()); // To test DecNum output, check the round-trip. DecNum dn; -- 2.50.0