Fixed unsigned signed comparison, printf missmatch