diff options
Diffstat (limited to 'linden/indra/lscript/lscript_library/lscript_library.cpp')
-rw-r--r-- | linden/indra/lscript/lscript_library/lscript_library.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linden/indra/lscript/lscript_library/lscript_library.cpp b/linden/indra/lscript/lscript_library/lscript_library.cpp index 098c836..1b92608 100644 --- a/linden/indra/lscript/lscript_library/lscript_library.cpp +++ b/linden/indra/lscript/lscript_library/lscript_library.cpp | |||
@@ -467,7 +467,7 @@ LLScriptLibraryFunction::~LLScriptLibraryFunction() | |||
467 | 467 | ||
468 | void LLScriptLibrary::addFunction(LLScriptLibraryFunction *func) | 468 | void LLScriptLibrary::addFunction(LLScriptLibraryFunction *func) |
469 | { | 469 | { |
470 | LLScriptLibraryFunction **temp = (LLScriptLibraryFunction **)new U32[mNextNumber + 1]; | 470 | LLScriptLibraryFunction **temp = new LLScriptLibraryFunction*[mNextNumber + 1]; |
471 | if (mNextNumber) | 471 | if (mNextNumber) |
472 | { | 472 | { |
473 | memcpy(temp, mFunctions, sizeof(LLScriptLibraryFunction *)*mNextNumber); | 473 | memcpy(temp, mFunctions, sizeof(LLScriptLibraryFunction *)*mNextNumber); |