* Cast  to an int, as it should be.
Merge pull request #1 from muesli/master

Make sure maxvisits is passed around as an int.