Fix long to int
Merge pull request #10 from ralmn/develop

V1.1.8