Fix signed/unsigned comparison warning
Merge pull request #332 from kaihowl/fix/test-warning

Fix signed/unsigned comparison warning