for loop change. 'signed int' type casting.