Explicitly set type on int in range