offset should be type long, not int
Merge pull request #55 from lilydjwg/master

Use type long for offset