Fixed unsigned/signed comparison warning.