replace long with int or ssize_t
use int in Vector
initialize static member variable in cpp
Merge pull request #4438 from minggo/change-long

replace long with int or ssize_t