From 57f448e93ce944bf8bd2d4168e79e0d89e08a1cc Mon Sep 17 00:00:00 2001 From: Shane Carr Date: Thu, 6 Sep 2018 02:03:52 -0700 Subject: [PATCH] ICU-11276 Fixing ASAN issue related to number range formatting. --- icu4c/source/i18n/number_decimalquantity.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/icu4c/source/i18n/number_decimalquantity.cpp b/icu4c/source/i18n/number_decimalquantity.cpp index 760914e26f8..9d80e3349cb 100644 --- a/icu4c/source/i18n/number_decimalquantity.cpp +++ b/icu4c/source/i18n/number_decimalquantity.cpp @@ -1155,7 +1155,7 @@ const char16_t* DecimalQuantity::checkHealth() const { bool DecimalQuantity::operator==(const DecimalQuantity& other) const { // FIXME: Make a faster implementation. - return toScientificString() == other.toScientificString(); + return toString() == other.toString(); } UnicodeString DecimalQuantity::toString() const { -- 2.40.0