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