diff --git a/OpenSim/Framework/Util.cs b/OpenSim/Framework/Util.cs index b3399e57c3..ae1ff0a74b 100644 --- a/OpenSim/Framework/Util.cs +++ b/OpenSim/Framework/Util.cs @@ -1155,14 +1155,14 @@ namespace OpenSim.Framework public static char LowNibbleToHexByteCharHighcaps(byte b) { b &= 0x0f; - return (char)(b > 9 ? b + 0x57 : b + '0'); + return (char)(b > 9 ? b + 0x37 : b + '0'); } [MethodImpl(MethodImplOptions.AggressiveInlining)] public static char HighNibbleToHexByteCharHighcaps(byte b) { b >>= 4; - return (char)(b > 9 ? b + 0x57 : b + '0'); + return (char)(b > 9 ? b + 0x37 : b + '0'); } public static string bytesToHexString(byte[] bytes, bool lowerCaps)