Got rid of an unsigned/signed mismatch warning