Change this according to Nat Linden

master
Ansariel 2023-03-03 22:54:01 +01:00
parent f65cddf860
commit fbba091194
1 changed files with 1 additions and 1 deletions

View File

@ -146,7 +146,7 @@ bool LLSDSerialize::deserialize(LLSD& sd, std::istream& str, llssize max_bytes)
// byte. We could store one if needed, since even the incremented
// inbuf won't exceed sizeof(hdr_buf)-1, but there's no need.
}
std::string header{ hdr_buf, narrow(inbuf) };
std::string header{ hdr_buf, std::string::size_type(inbuf) };
if (str.fail())
{
str.clear();