summaryrefslogtreecommitdiffstats
path: root/thirdparty/icu4c/common/ruleiter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'thirdparty/icu4c/common/ruleiter.cpp')
-rw-r--r--thirdparty/icu4c/common/ruleiter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/thirdparty/icu4c/common/ruleiter.cpp b/thirdparty/icu4c/common/ruleiter.cpp
index 0e665435a7..39bea52e78 100644
--- a/thirdparty/icu4c/common/ruleiter.cpp
+++ b/thirdparty/icu4c/common/ruleiter.cpp
@@ -139,7 +139,7 @@ UChar32 RuleCharacterIterator::_current() const {
return buf->char32At(bufPos);
} else {
int i = pos.getIndex();
- return (i < text.length()) ? text.char32At(i) : (UChar32)DONE;
+ return (i < text.length()) ? text.char32At(i) : static_cast<UChar32>(DONE);
}
}