[tor-commits] [tor/release-0.3.4] Add some casts to get test_dir.c compiling on windows.