fix signedness warning