Fix type signature for readInt.
Merge pull request #4 from carlohamalainen/master

Fix type signature for readInt.