summaryrefslogtreecommitdiff
path: root/indra/llui/tests/llurlmatch_test.cpp
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2011-07-08 20:16:35 -0400
committerOz Linden <oz@lindenlab.com>2011-07-08 20:16:35 -0400
commit093fdcfcd3debd74dc773bf52faa07ea9f5f8b31 (patch)
tree9b3a0f7e37ef731cb9d35ef4e87c17a4c3c4b255 /indra/llui/tests/llurlmatch_test.cpp
parent187bc5211437718016a22e60c7b5ed29823c8510 (diff)
parent255fc0401ebde80cfde88995a18fc77a36e3479b (diff)
merge changes for storm-1489
Diffstat (limited to 'indra/llui/tests/llurlmatch_test.cpp')
-rw-r--r--indra/llui/tests/llurlmatch_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llui/tests/llurlmatch_test.cpp b/indra/llui/tests/llurlmatch_test.cpp
index e09ef33d49..3cd61e574e 100644
--- a/indra/llui/tests/llurlmatch_test.cpp
+++ b/indra/llui/tests/llurlmatch_test.cpp
@@ -95,7 +95,7 @@ namespace LLInitParam
{
const U8* my_addr = reinterpret_cast<const U8*>(this);
const U8* block_addr = reinterpret_cast<const U8*>(enclosing_block);
- mEnclosingBlockOffset = (U16)(my_addr - block_addr);
+ mEnclosingBlockOffset = 0x7FFFffff & ((U32)(my_addr - block_addr));
}
bool BaseBlock::deserializeBlock(Parser& p, Parser::name_stack_range_t name_stack, S32 generation){ return true; }