use size_t instead of long in Array
Merge pull request #4416 from minggo/change-long

[ci skip]use size_t instead of long in Array