correct toInt function
Merge branch 'master' of https://github.com/Ybalrid/hgt-extractor