]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Use tor_socket_t, not unsigned, in tor-fw-helper-natmp.c
authorNick Mathewson <nickm@torproject.org>
Wed, 18 Jan 2012 18:14:44 +0000 (13:14 -0500)
committerNick Mathewson <nickm@torproject.org>
Wed, 18 Jan 2012 18:14:44 +0000 (13:14 -0500)
changes/bug1983_win64 [new file with mode: 0644]
src/tools/tor-fw-helper/tor-fw-helper-natpmp.c

diff --git a/changes/bug1983_win64 b/changes/bug1983_win64
new file mode 100644 (file)
index 0000000..6d2eae3
--- /dev/null
@@ -0,0 +1,3 @@
+  o Minor bugfixes
+    - Use an appropriate-width type for sockets in tor-fw-helper on
+      win664. Fixes bug 1983 at last. Bugfix on 0.2.3.9-alpha.
index 2380b141df3ddc5c0768ec62772f964c34d15172..a3a52d103711795488b0d26478c2ad5dbd68e81d 100644 (file)
@@ -87,7 +87,7 @@ tor_natpmp_cleanup(tor_fw_options_t *tor_fw_options, void *backend_state)
 
 /** Use select() to wait until we can read on fd. */
 static int
-wait_until_fd_readable(unsigned int fd, struct timeval *timeout)
+wait_until_fd_readable(tor_socket_t fd, struct timeval *timeout)
 {
   int r;
   fd_set fds;