forked from bit/DotRecastNetSim
changed: typo
This commit is contained in:
parent
f02e956aef
commit
5d793573cb
|
@ -15,7 +15,7 @@ namespace DotRecast.Core
|
|||
return deatArr;
|
||||
}
|
||||
|
||||
public static T[] CopyOf<T>(T[] source, int length)
|
||||
public static T[] CopyOf<T>(T[] source, long length)
|
||||
{
|
||||
var deatArr = new T[length];
|
||||
var count = Math.Max(0, Math.Min(source.Length, length));
|
||||
|
|
Loading…
Reference in New Issue