convert all int to int64
revert some int64 to int
Merge pull request #42 from vieux/int64

convert all int to int64