summaryrefslogtreecommitdiff
path: root/indra/llcorehttp
diff options
context:
space:
mode:
authorAlexander Gavriliuk <alexandrgproductengine@lindenlab.com>2024-02-08 21:03:59 +0100
committerGuru <alexandrgproductengine@lindenlab.com>2024-02-08 23:44:34 +0300
commita2552a555669490dc2ca173a48989d1b30e62c56 (patch)
treef8f2b0dc67028888beb07011d884fcb5bb00b0ea /indra/llcorehttp
parent2e5b105dffc41695d0a64c5b55eef7c28da49246 (diff)
Build fix for Visual Studio patch
Diffstat (limited to 'indra/llcorehttp')
-rw-r--r--indra/llcorehttp/bufferarray.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llcorehttp/bufferarray.cpp b/indra/llcorehttp/bufferarray.cpp
index 8d2e7c6a63..c780c06b4e 100644
--- a/indra/llcorehttp/bufferarray.cpp
+++ b/indra/llcorehttp/bufferarray.cpp
@@ -288,7 +288,7 @@ int BufferArray::findBlock(size_t pos, size_t * ret_offset)
if (pos >= mLen)
return -1; // Doesn't exist
- const int block_limit(narrow(mBlocks.size()));
+ const int block_limit(narrow<size_t>(mBlocks.size()));
for (int i(0); i < block_limit; ++i)
{
if (pos < mBlocks[i]->mUsed)