From d9bd57762edee6a5a2031ab896b6994746fdf4af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lars=20N=C3=A6sbye=20Christensen?= Date: Sun, 18 Feb 2024 18:12:56 +0100 Subject: revert to U8 --- indra/llmessage/lltemplatemessagereader.cpp | 6 +++--- 1 file 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, -- cgit v1.2.3