Issue #17. Fixed -Wsign-compare.