Limiters should be integers

This fixes a compiler warning as well.
Merge pull request #7 from certik/limiter_fix

Limiters should be integers