summaryrefslogtreecommitdiff
path: root/deps/icu-small/source/common/unames.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'deps/icu-small/source/common/unames.cpp')
-rw-r--r--deps/icu-small/source/common/unames.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/deps/icu-small/source/common/unames.cpp b/deps/icu-small/source/common/unames.cpp
index 13a4572e1c..5f752b0d17 100644
--- a/deps/icu-small/source/common/unames.cpp
+++ b/deps/icu-small/source/common/unames.cpp
@@ -466,7 +466,7 @@ static uint16_t getExtName(uint32_t code, char *buffer, uint16_t bufferLength) {
buffer[--i] = (v < 10 ? '0' + v : 'A' + v - 10);
}
buffer += ndigits;
- length += ndigits;
+ length += static_cast<uint16_t>(ndigits);
WRITE_CHAR(buffer, bufferLength, length, '>');
return length;