Fix warning about negative unsigned intergers