fix lint: i++ -> i += 1
Merge pull request #1153 from isao/fixlint

fix lint: i++ -> i += 1