diff --git a/src/DotRecast.Core/RcArrayUtils.cs b/src/DotRecast.Core/RcArrayUtils.cs index b308de0..1961251 100644 --- a/src/DotRecast.Core/RcArrayUtils.cs +++ b/src/DotRecast.Core/RcArrayUtils.cs @@ -15,7 +15,7 @@ namespace DotRecast.Core return deatArr; } - public static T[] CopyOf(T[] source, int length) + public static T[] CopyOf(T[] source, long length) { var deatArr = new T[length]; var count = Math.Max(0, Math.Min(source.Length, length));