Use a range loop. No functionality change.