summaryrefslogtreecommitdiff
path: root/indra/llcommon/llstring.cpp
diff options
context:
space:
mode:
authorAnsariel <ansariel.hiller@phoenixviewer.com>2024-02-16 00:07:58 +0100
committerAndrey Lihatskiy <alihatskiy@productengine.com>2024-02-16 10:17:55 +0200
commit9480a98cffaafa5826b8daad20020cf399bbbefc (patch)
tree32ddf9fc0d844e27b58956aa8c5d68145164dbb8 /indra/llcommon/llstring.cpp
parenta02459dea6c24d851ab5e76f63f31376d9d4791c (diff)
Replace most of BOOL with bool in llmath
Diffstat (limited to 'indra/llcommon/llstring.cpp')
-rw-r--r--indra/llcommon/llstring.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/llcommon/llstring.cpp b/indra/llcommon/llstring.cpp
index f6629803ee..4358e80125 100644
--- a/indra/llcommon/llstring.cpp
+++ b/indra/llcommon/llstring.cpp
@@ -308,10 +308,10 @@ S32 wstring_utf16_length(const LLWString &wstr, const S32 woffset, const S32 wle
// Given a wstring and an offset in it, returns the length as wstring (i.e.,
// number of llwchars) of the longest substring that starts at the offset
// and whose equivalent utf-16 string does not exceeds the given utf16_length.
-S32 wstring_wstring_length_from_utf16_length(const LLWString & wstr, const S32 woffset, const S32 utf16_length, BOOL *unaligned)
+S32 wstring_wstring_length_from_utf16_length(const LLWString & wstr, const S32 woffset, const S32 utf16_length, bool *unaligned)
{
const auto end = wstr.length();
- BOOL u = FALSE;
+ bool u = FALSE;
S32 n = woffset + utf16_length;
S32 i = woffset;
while (i < end)