diff options
author | Nat Goodspeed <nat@lindenlab.com> | 2018-07-12 16:07:06 -0400 |
---|---|---|
committer | Nat Goodspeed <nat@lindenlab.com> | 2018-07-12 16:07:06 -0400 |
commit | 3888d1862a79ab927d118087b2ce662f15e27f41 (patch) | |
tree | 7412215a24084d08d37dec16c9f5a1b3aedd1c9f | |
parent | b883ffaa750630ce15bd133c3ddd1f39896fee02 (diff) |
DRTVWR-447: For want of a 'const', the build was lost.
-rw-r--r-- | indra/newview/llappviewerwin32.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<unsigned char*>(wstr); + const unsigned char* bytes = reinterpret_cast<const unsigned char*>(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) |