[tor-commits] [tor/release-0.2.9] Use explicit casts to avoid warnings when building with openssl 1.1