From 3888d1862a79ab927d118087b2ce662f15e27f41 Mon Sep 17 00:00:00 2001 From: Nat Goodspeed Date: Thu, 12 Jul 2018 16:07:06 -0400 Subject: DRTVWR-447: For want of a 'const', the build was lost. --- indra/newview/llappviewerwin32.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indra/newview/llappviewerwin32.cpp b/indra/newview/llappviewerwin32.cpp index 43a61c3857..d2854c6b47 100644 --- a/indra/newview/llappviewerwin32.cpp +++ b/indra/newview/llappviewerwin32.cpp @@ -130,7 +130,7 @@ namespace // Now dump the memory pointed to by wstr as raw bytes. char oldfill = out.fill(); out << std::hex << std::setfill('0') << std::setw(2); - unsigned char* bytes = reinterpret_cast(wstr); + const unsigned char* bytes = reinterpret_cast(wstr); // Increment by one __wchar_t so we display the final nul character; // remember to multiply by the number of bytes in a __wchar_t. for (size_t b = 0; b < ((size + 1) * sizeof(__wchar_t)); ++b) -- cgit v1.2.3