diff options
-rw-r--r-- | indra/llcommon/lluri.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llcommon/lluri.cpp b/indra/llcommon/lluri.cpp index 0f6ddd9bc6..022742660d 100644 --- a/indra/llcommon/lluri.cpp +++ b/indra/llcommon/lluri.cpp @@ -48,7 +48,7 @@ void encode_character(std::ostream& ostr, std::string::value_type val) ostr << "%" << std::uppercase << std::hex << std::setw(2) << std::setfill('0') // VWR-4010 Cannot cast to U32 because sign-extension on // chars > 128 will result in FFFFFFC3 instead of F3. - << static_cast<S32>(static_cast<U8>(c)); + << static_cast<S32>(static_cast<U8>(val)); } // static |