Fixed signed/unsigned comparison warning