diff options
Diffstat (limited to 'core/fxcrt/bytestring.cpp')
-rw-r--r-- | core/fxcrt/bytestring.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/fxcrt/bytestring.cpp b/core/fxcrt/bytestring.cpp index bd195dda1d..3079eb7b72 100644 --- a/core/fxcrt/bytestring.cpp +++ b/core/fxcrt/bytestring.cpp @@ -125,7 +125,7 @@ ByteString::ByteString(const ByteStringView& stringSrc) { } ByteString::ByteString(const ByteStringView& str1, const ByteStringView& str2) { - FX_SAFE_STRSIZE nSafeLen = str1.GetLength(); + FX_SAFE_SIZE_T nSafeLen = str1.GetLength(); nSafeLen += str2.GetLength(); size_t nNewLen = nSafeLen.ValueOrDie(); @@ -139,7 +139,7 @@ ByteString::ByteString(const ByteStringView& str1, const ByteStringView& str2) { } ByteString::ByteString(const std::initializer_list<ByteStringView>& list) { - FX_SAFE_STRSIZE nSafeLen = 0; + FX_SAFE_SIZE_T nSafeLen = 0; for (const auto& item : list) nSafeLen += item.GetLength(); |