]> git.ipfire.org Git - thirdparty/tor.git/commit
Fix some mingw build warnings
authorNick Mathewson <nickm@torproject.org>
Tue, 5 Jun 2012 15:06:26 +0000 (11:06 -0400)
committerNick Mathewson <nickm@torproject.org>
Tue, 5 Jun 2012 15:06:26 +0000 (11:06 -0400)
commitb482c870ca3d70bc5611b8eb447ebbe3418bf3a9
tree653f7663bbe2edd79880a0ddc3579dfb78ae5491
parent2468a1bd2c3a989c4225897e58b5bf09ac08ba61
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.
src/common/address.h
src/common/util.c
src/common/util.h
src/test/test.c
src/test/test_util.c