Fixed signed and unsigned comparisons' warnings