Fixed warnings regarding signed/unsigned comparison.