diff options
| author | James Cook <james@lindenlab.com> | 2009-11-23 10:15:00 -0800 |
|---|---|---|
| committer | James Cook <james@lindenlab.com> | 2009-11-23 10:15:00 -0800 |
| commit | 83237f875cb26d9f72055a5d47cdb928b30c0dc6 (patch) | |
| tree | 1a4176f230cdf86d646d746610c4861d6417d0e5 /indra/llxuixml/llinitparam.cpp | |
| parent | 67c832d94b53fb5d32ec27eebf7f57b668e899db (diff) | |
Allow large paramblocks by converting mEnclosingBlockOffset to U16, needed for
location_input.xml
Diffstat (limited to 'indra/llxuixml/llinitparam.cpp')
| -rw-r--r-- | indra/llxuixml/llinitparam.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llxuixml/llinitparam.cpp b/indra/llxuixml/llinitparam.cpp index 318a0348a2..4c050844f8 100644 --- a/indra/llxuixml/llinitparam.cpp +++ b/indra/llxuixml/llinitparam.cpp @@ -46,7 +46,7 @@ namespace LLInitParam { const U8* my_addr = reinterpret_cast<const U8*>(this); const U8* block_addr = reinterpret_cast<const U8*>(enclosing_block); - mEnclosingBlockOffset = (S16)(block_addr - my_addr); + mEnclosingBlockOffset = (U16)(my_addr - block_addr); } // |
