summaryrefslogtreecommitdiff
path: root/indra/llui
diff options
context:
space:
mode:
authorAnsariel <ansariel.hiller@phoenixviewer.com>2024-02-17 00:51:13 +0100
committerAndrey Lihatskiy <alihatskiy@productengine.com>2024-02-17 20:45:34 +0200
commit088f2f4f6545ebc2ee01945938a40ae5c87ad27a (patch)
treed5638d04461f3a549f398ead86076069bced9ff9 /indra/llui
parent17cb28ec2b4f290f7492eb9c765be114b0cd435f (diff)
More BOOL to bool replacements primarily in llappearance and llxml
Diffstat (limited to 'indra/llui')
-rw-r--r--indra/llui/llxuiparser.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/llui/llxuiparser.cpp b/indra/llui/llxuiparser.cpp
index 138ba8bf02..c122ab1c9b 100644
--- a/indra/llui/llxuiparser.cpp
+++ b/indra/llui/llxuiparser.cpp
@@ -930,10 +930,10 @@ bool LLXUIParser::writeFlag(Parser& parser, const void* val_ptr, name_stack_t& s
bool LLXUIParser::readBoolValue(Parser& parser, void* val_ptr)
{
- S32 value;
+ bool value;
LLXUIParser& self = static_cast<LLXUIParser&>(parser);
bool success = self.mCurReadNode->getBoolValue(1, &value);
- *((bool*)val_ptr) = (value != FALSE);
+ *((bool*)val_ptr) = (value != false);
return success;
}