Use longs instead of ints
Merge pull request #1 from cespare/longs

Use longs instead of ints