fixed types on 64bit systems see issue #66
Merge pull request #82 from johmue/master

fixed types on 64bit systems see issue #66