Fixed signed/unsigned warning