aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/lscript/lscript_compile/lscript_bytecode.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2008-09-06 18:24:57 -0500
committerJacek Antonelli2008-09-06 18:25:07 -0500
commit798d367d54a6c6379ad355bd8345fa40e31e7fe9 (patch)
tree1921f1708cd0240648c97bc02df2c2ab5f2fc41e /linden/indra/lscript/lscript_compile/lscript_bytecode.cpp
parentSecond Life viewer sources 1.20.15 (diff)
downloadmeta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.zip
meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.gz
meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.bz2
meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.xz
Second Life viewer sources 1.21.0-RC
Diffstat (limited to 'linden/indra/lscript/lscript_compile/lscript_bytecode.cpp')
-rw-r--r--linden/indra/lscript/lscript_compile/lscript_bytecode.cpp4
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
104void LLScriptByteCodeChunk::addBytes(U8 *bytes, S32 size) 104void 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
121void LLScriptByteCodeChunk::addBytes(char *bytes, S32 size) 121void LLScriptByteCodeChunk::addBytes(const char *bytes, S32 size)
122{ 122{
123 if (mCodeChunk) 123 if (mCodeChunk)
124 { 124 {