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