Fix comparison sign warning introduced in pull request #174 commit 33b6e5c