summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2023-05-22 19:14:48 -0400
committerNat Goodspeed <nat@lindenlab.com>2023-05-22 19:14:48 -0400
commit626bbe5032cab1fd2641ad02443e421567e7cce5 (patch)
tree7b877f3af88c01df71f7d6bcfe141a6d3faad5d4
parentb61ea595b5f2cac0f108b05526f0a371f512bfd4 (diff)
SL-18837: Fix call to strip_deprecated_header().
Pass llssize instead of S32.
-rw-r--r--indra/llcommon/llsdserialize.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/llcommon/llsdserialize.cpp b/indra/llcommon/llsdserialize.cpp
index ad3f61ce71..c8dbcb2404 100644
--- a/indra/llcommon/llsdserialize.cpp
+++ b/indra/llcommon/llsdserialize.cpp
@@ -2193,9 +2193,9 @@ LLUZipHelper::EZipRresult LLUZipHelper::unzip_llsd(LLSD& data, std::istream& is,
LLUZipHelper::EZipRresult LLUZipHelper::unzip_llsd(LLSD& data, const U8* in, S32 size)
{
U8* result = NULL;
- U32 cur_size = 0;
+ llssize cur_size = 0;
z_stream strm;
-
+
constexpr U32 CHUNK = 1024 * 512;
static thread_local std::unique_ptr<U8[]> out;