summaryrefslogtreecommitdiff
path: root/core/fxcrt/widestring.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'core/fxcrt/widestring.cpp')
-rw-r--r--core/fxcrt/widestring.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/fxcrt/widestring.cpp b/core/fxcrt/widestring.cpp
index a4632ee9db..b9d6dc2080 100644
--- a/core/fxcrt/widestring.cpp
+++ b/core/fxcrt/widestring.cpp
@@ -314,7 +314,7 @@ WideString::WideString(const WideStringView& stringSrc) {
}
WideString::WideString(const WideStringView& str1, const WideStringView& str2) {
- FX_SAFE_STRSIZE nSafeLen = str1.GetLength();
+ FX_SAFE_SIZE_T nSafeLen = str1.GetLength();
nSafeLen += str2.GetLength();
size_t nNewLen = nSafeLen.ValueOrDie();
@@ -328,7 +328,7 @@ WideString::WideString(const WideStringView& str1, const WideStringView& str2) {
}
WideString::WideString(const std::initializer_list<WideStringView>& list) {
- FX_SAFE_STRSIZE nSafeLen = 0;
+ FX_SAFE_SIZE_T nSafeLen = 0;
for (const auto& item : list)
nSafeLen += item.GetLength();