Fix signed to unsigned comparision warning.
Merge pull request #239 from bkloppenborg/devel

Fix signed to unsigned comparison compiler warning.