summaryrefslogtreecommitdiff
path: root/external/icu/icu4c-ubsan.patch.0
diff options
context:
space:
mode:
Diffstat (limited to 'external/icu/icu4c-ubsan.patch.0')
-rw-r--r--external/icu/icu4c-ubsan.patch.022
1 files changed, 0 insertions, 22 deletions
diff --git a/external/icu/icu4c-ubsan.patch.0 b/external/icu/icu4c-ubsan.patch.0
deleted file mode 100644
index 991c537acc0a..000000000000
--- a/external/icu/icu4c-ubsan.patch.0
+++ /dev/null
@@ -1,22 +0,0 @@
---- source/common/ustring.cpp
-+++ source/common/ustring.cpp
-@@ -1486,7 +1486,7 @@
- */
-
- #define STRING_HASH(TYPE, STR, STRLEN, DEREF) \
-- int32_t hash = 0; \
-+ uint32_t hash = 0; \
- const TYPE *p = (const TYPE*) STR; \
- if (p != NULL) { \
- int32_t len = (int32_t)(STRLEN); \
---- source/i18n/ucol_tok.cpp
-+++ source/i18n/ucol_tok.cpp
-@@ -48,7 +48,7 @@
- static int32_t U_CALLCONV
- uhash_hashTokens(const UHashTok k)
- {
-- int32_t hash = 0;
-+ uint32_t hash = 0;
- //uint32_t key = (uint32_t)k.integer;
- UColToken *key = (UColToken *)k.pointer;
- if (key != 0) {