Update icu4c-android.patch.1 to recent ICU 67 upgrade
Looks fixed upstream (if slightly differently) Change-Id: If53722b867346d390866d9502fe36f976d702c31 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94372 Tested-by: Jenkins Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
This commit is contained in:
Vendored
-12
@@ -73,15 +73,3 @@ diff -ur icu.org/source/i18n/decimfmt.cpp icu/source/i18n/decimfmt.cpp
|
||||
#include <cmath>
|
||||
#include <cstdlib>
|
||||
#include <stdlib.h>
|
||||
diff -ur icu.org/source/i18n/number_decimalquantity.cpp icu/source/i18n/number_decimalquantity.cpp
|
||||
--- icu.org/source/i18n/number_decimalquantity.cpp 2018-10-02 00:39:56.000000000 +0200
|
||||
+++ icu/source/i18n/number_decimalquantity.cpp 2018-10-20 00:33:36.560130873 +0200
|
||||
@@ -432,7 +432,7 @@
|
||||
for (; i <= -22; i += 22) n /= 1e22;
|
||||
n /= DOUBLE_MULTIPLIERS[-i];
|
||||
}
|
||||
- auto result = static_cast<int64_t>(std::round(n));
|
||||
+ auto result = static_cast<int64_t>(round(n));
|
||||
if (result != 0) {
|
||||
_setToLong(result);
|
||||
scale -= fracLength;
|
||||
|
||||
Reference in New Issue
Block a user