summaryrefslogtreecommitdiffstats
path: root/thirdparty/icu4c/common/bytesinkutil.h
diff options
context:
space:
mode:
Diffstat (limited to 'thirdparty/icu4c/common/bytesinkutil.h')
-rw-r--r--thirdparty/icu4c/common/bytesinkutil.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/thirdparty/icu4c/common/bytesinkutil.h b/thirdparty/icu4c/common/bytesinkutil.h
index b3bd487be1..eb3a622ae9 100644
--- a/thirdparty/icu4c/common/bytesinkutil.h
+++ b/thirdparty/icu4c/common/bytesinkutil.h
@@ -73,7 +73,7 @@ public:
/** The few bytes at [src, nextSrc[ were mapped/changed to valid code point c. */
static inline void appendCodePoint(const uint8_t *src, const uint8_t *nextSrc, UChar32 c,
ByteSink &sink, Edits *edits = nullptr) {
- appendCodePoint((int32_t)(nextSrc - src), c, sink, edits);
+ appendCodePoint(static_cast<int32_t>(nextSrc - src), c, sink, edits);
}
/** Append the two-byte character (U+0080..U+07FF). */