Fixed unsigned comparison warning.