diff options
author | Steven Bennetts <steve@lindenlab.com> | 2007-01-18 00:36:25 +0000 |
---|---|---|
committer | Steven Bennetts <steve@lindenlab.com> | 2007-01-18 00:36:25 +0000 |
commit | 73f0b5029aa247a563862fc39152ce58baa407aa (patch) | |
tree | 656b4b9d02c3c81d184ebf2915fe8c073e9335e2 /indra/lscript/lscript_alloc.h | |
parent | 71d28bdbf0baab9302c8f458e3bdbcfc60d656d4 (diff) |
merge -r 56738:56842 maintenance.
Diffstat (limited to 'indra/lscript/lscript_alloc.h')
-rw-r--r-- | indra/lscript/lscript_alloc.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/lscript/lscript_alloc.h b/indra/lscript/lscript_alloc.h index f0761c0afd..485a65061a 100644 --- a/indra/lscript/lscript_alloc.h +++ b/indra/lscript/lscript_alloc.h @@ -227,7 +227,7 @@ inline LLScriptLibData *lsa_bubble_sort(LLScriptLibData *src, S32 stride, S32 as return retval; } - LLScriptLibData **sortarray = (LLScriptLibData **)new U32[number]; + LLScriptLibData **sortarray = new LLScriptLibData*[number]; LLScriptLibData *temp = src->mListp; while (temp) @@ -292,7 +292,7 @@ inline LLScriptLibData *lsa_randomize(LLScriptLibData *src, S32 stride) return retval; } - LLScriptLibData **sortarray = (LLScriptLibData **)new U32[number]; + LLScriptLibData **sortarray = new LLScriptLibData*[number]; LLScriptLibData *temp = src->mListp; S32 i = 0; |