diff options
Diffstat (limited to 'indra/lscript/lscript_library/lscript_library.cpp')
-rw-r--r-- | indra/lscript/lscript_library/lscript_library.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/lscript/lscript_library/lscript_library.cpp b/indra/lscript/lscript_library/lscript_library.cpp index 2c2cdbabdc..1af10ae9c4 100644 --- a/indra/lscript/lscript_library/lscript_library.cpp +++ b/indra/lscript/lscript_library/lscript_library.cpp @@ -448,7 +448,7 @@ LLScriptLibraryFunction::~LLScriptLibraryFunction() void LLScriptLibrary::addFunction(LLScriptLibraryFunction *func) { - LLScriptLibraryFunction **temp = (LLScriptLibraryFunction **)new U32[mNextNumber + 1]; + LLScriptLibraryFunction **temp = new LLScriptLibraryFunction*[mNextNumber + 1]; if (mNextNumber) { memcpy(temp, mFunctions, sizeof(LLScriptLibraryFunction *)*mNextNumber); |