fixed types on 64bit systems see issue #66