diff options
author | Nick Mathewson <nickm@torproject.org> | 2012-06-05 11:06:26 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2012-06-05 11:06:26 -0400 |
commit | b482c870ca3d70bc5611b8eb447ebbe3418bf3a9 (patch) | |
tree | 653f7663bbe2edd79880a0ddc3579dfb78ae5491 /src/test/test.c | |
parent | 2468a1bd2c3a989c4225897e58b5bf09ac08ba61 (diff) | |
download | tor-b482c870ca3d70bc5611b8eb447ebbe3418bf3a9.tar.gz tor-b482c870ca3d70bc5611b8eb447ebbe3418bf3a9.zip |
Fix some mingw build warnings
These include:
- Having a weird in_addr that can't be initialized with {0}
- Needing INVALID_HANDLE_VALUE instead of -1 for file handles.
- Having a weird dependent definition for struct stat.
- pid is signed, not unsigned.
Diffstat (limited to 'src/test/test.c')
-rw-r--r-- | src/test/test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test.c b/src/test/test.c index 5f0b47000c..4f19f36eab 100644 --- a/src/test/test.c +++ b/src/test/test.c @@ -72,7 +72,7 @@ int have_failed = 0; * our files during testing. */ static char temp_dir[256]; #ifdef _WIN32 -#define pid_t unsigned +#define pid_t int #endif static pid_t temp_dir_setup_in_pid = 0; |