Change parameter type to suppress -Wsign-compare warnings
Merge pull request #1352 from k-tsj/change-param-type-to-suppress-warnings

Change parameter type to suppress -Wsign-compare warnings