From: Shane Carr Date: Thu, 6 Sep 2018 09:03:52 +0000 (-0700) Subject: ICU-11276 Fixing ASAN issue related to number range formatting. X-Git-Tag: release-63-rc~63^2~17 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=57f448e93ce944bf8bd2d4168e79e0d89e08a1cc;p=icu ICU-11276 Fixing ASAN issue related to number range formatting. --- 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 {