[tor-commits] [tor/master] Add a cast to avoid a signed/unsigned comparison