summaryrefslogtreecommitdiffstats
path: root/thirdparty/icu4c/common/norm2allmodes.h
diff options
context:
space:
mode:
Diffstat (limited to 'thirdparty/icu4c/common/norm2allmodes.h')
-rw-r--r--thirdparty/icu4c/common/norm2allmodes.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/thirdparty/icu4c/common/norm2allmodes.h b/thirdparty/icu4c/common/norm2allmodes.h
index a2cfc89c1a..4b30d787e8 100644
--- a/thirdparty/icu4c/common/norm2allmodes.h
+++ b/thirdparty/icu4c/common/norm2allmodes.h
@@ -174,7 +174,7 @@ public:
errorCode=U_ILLEGAL_ARGUMENT_ERROR;
return 0;
}
- return (int32_t)(spanQuickCheckYes(sArray, sArray+s.length(), errorCode)-sArray);
+ return static_cast<int32_t>(spanQuickCheckYes(sArray, sArray + s.length(), errorCode) - sArray);
}
virtual const char16_t *
spanQuickCheckYes(const char16_t *src, const char16_t *limit, UErrorCode &errorCode) const = 0;