aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/lscript/lscript_compile/lscript_heap.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:44:50 -0500
committerJacek Antonelli2008-08-15 23:44:50 -0500
commit89fe5dab825a62a0e3fd8d248cbc91c65eb2a426 (patch)
treebcff14b7888d04a2fec799c59369f6095224bd08 /linden/indra/lscript/lscript_compile/lscript_heap.cpp
parentSecond Life viewer sources 1.13.3.2 (diff)
downloadmeta-impy-89fe5dab825a62a0e3fd8d248cbc91c65eb2a426.zip
meta-impy-89fe5dab825a62a0e3fd8d248cbc91c65eb2a426.tar.gz
meta-impy-89fe5dab825a62a0e3fd8d248cbc91c65eb2a426.tar.bz2
meta-impy-89fe5dab825a62a0e3fd8d248cbc91c65eb2a426.tar.xz
Second Life viewer sources 1.14.0.0
Diffstat (limited to 'linden/indra/lscript/lscript_compile/lscript_heap.cpp')
-rw-r--r--linden/indra/lscript/lscript_compile/lscript_heap.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/linden/indra/lscript/lscript_compile/lscript_heap.cpp b/linden/indra/lscript/lscript_compile/lscript_heap.cpp
index 4adf84a..2cbd6bb 100644
--- a/linden/indra/lscript/lscript_compile/lscript_heap.cpp
+++ b/linden/indra/lscript/lscript_compile/lscript_heap.cpp
@@ -53,9 +53,9 @@ LLScriptHeapEntry::~LLScriptHeapEntry()
53 53
54void LLScriptHeapEntry::addString(char *string) 54void LLScriptHeapEntry::addString(char *string)
55{ 55{
56 S32 size = strlen(string) + 1; 56 S32 size = strlen(string) + 1; /*Flawfinder: ignore*/
57 S32 offset = 0; 57 S32 offset = 0;
58 memcpy(mData, string, size); 58 memcpy(mData, string, size); /*Flawfinder: ignore*/
59 mNext += size; 59 mNext += size;
60 integer2bytestream(mEntry, offset, mNext); 60 integer2bytestream(mEntry, offset, mNext);
61 mRefCount++; 61 mRefCount++;