It's better to just use an int / unsigned int for index vars.