summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Næsbye Christensen <lars@naesbye.dk>2024-02-18 18:12:56 +0100
committerAndrey Lihatskiy <alihatskiy@productengine.com>2024-02-18 22:04:44 +0200
commitd9bd57762edee6a5a2031ab896b6994746fdf4af (patch)
treee6cbe717c6301ad06b40147a57225f2b02da2d2a
parent18828dfa9891df5137221a7bd2522ceb731317de (diff)
revert to U8
-rw-r--r--indra/llmessage/lltemplatemessagereader.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/llmessage/lltemplatemessagereader.cpp b/indra/llmessage/lltemplatemessagereader.cpp
index 0ff49a2308..064c6e5bd4 100644
--- a/indra/llmessage/lltemplatemessagereader.cpp
+++ b/indra/llmessage/lltemplatemessagereader.cpp
@@ -286,9 +286,9 @@ void LLTemplateMessageReader::getU8(const char *block, const char *var,
void LLTemplateMessageReader::getBOOL(const char *block, const char *var,
bool &b, S32 blocknum )
{
- bool value;
- getData(block, var, &value, sizeof(bool), blocknum);
- b = value;
+ U8 value;
+ getData(block, var, &value, sizeof(U8), blocknum);
+ b = (bool)value;
}
void LLTemplateMessageReader::getS16(const char *block, const char *var,