changed: typo

This commit is contained in:
ikpil 2023-10-01 18:50:04 +09:00
parent f02e956aef
commit 5d793573cb
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ namespace DotRecast.Core
return deatArr; 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 deatArr = new T[length];
var count = Math.Max(0, Math.Min(source.Length, length)); var count = Math.Max(0, Math.Min(source.Length, length));