From 2ec9ba8446dcdf004b6410cc6b9d641c41b4282b Mon Sep 17 00:00:00 2001
From: Josh Bell <josh@lindenlab.com>
Date: Sat, 29 Dec 2007 01:45:54 +0000
Subject: [PATCH] D'oh, try compiling before committing. (If it's any
 justification, CG was compiling so I could run home...)

---
 indra/llcommon/lluri.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/indra/llcommon/lluri.cpp b/indra/llcommon/lluri.cpp
index 0f6ddd9bc6b..022742660d5 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
-- 
GitLab