diff options
Diffstat (limited to 'linden/indra/lscript/lscript_compile/lscript_bytecode.cpp')
-rw-r--r-- | linden/indra/lscript/lscript_compile/lscript_bytecode.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/linden/indra/lscript/lscript_compile/lscript_bytecode.cpp b/linden/indra/lscript/lscript_compile/lscript_bytecode.cpp index 31ab909..7c2b07f 100644 --- a/linden/indra/lscript/lscript_compile/lscript_bytecode.cpp +++ b/linden/indra/lscript/lscript_compile/lscript_bytecode.cpp | |||
@@ -101,7 +101,7 @@ void LLScriptByteCodeChunk::addU16(U16 data) | |||
101 | addBytes(temp, 2); | 101 | addBytes(temp, 2); |
102 | } | 102 | } |
103 | 103 | ||
104 | void LLScriptByteCodeChunk::addBytes(U8 *bytes, S32 size) | 104 | void LLScriptByteCodeChunk::addBytes(const U8 *bytes, S32 size) |
105 | { | 105 | { |
106 | if (mCodeChunk) | 106 | if (mCodeChunk) |
107 | { | 107 | { |
@@ -118,7 +118,7 @@ void LLScriptByteCodeChunk::addBytes(U8 *bytes, S32 size) | |||
118 | mCurrentOffset += size; | 118 | mCurrentOffset += size; |
119 | } | 119 | } |
120 | 120 | ||
121 | void LLScriptByteCodeChunk::addBytes(char *bytes, S32 size) | 121 | void LLScriptByteCodeChunk::addBytes(const char *bytes, S32 size) |
122 | { | 122 | { |
123 | if (mCodeChunk) | 123 | if (mCodeChunk) |
124 | { | 124 | { |