Use unsigned loop counter.