Fixed bug in getInt function
Merge pull request #50 from koczkatamas/patch-1

Fixed bug in getInt function.