Declare i.

Reported by:	sbruno
Use better type for i.