[tor-commits] [tor/master] Fix a windows compilation error

nickm at torproject.org nickm at torproject.org
Mon Aug 17 20:25:06 UTC 2015


commit 3cc6d59521b14403f9a0689b2f78f7638d403827
Author: Nick Mathewson <nickm at torproject.org>
Date:   Wed Aug 12 13:16:08 2015 -0400

    Fix a windows compilation error
---
 src/or/main.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/or/main.c b/src/or/main.c
index 3ccb6e9..1c1c477 100644
--- a/src/or/main.c
+++ b/src/or/main.c
@@ -2253,7 +2253,7 @@ run_main_loop_until_done(void)
 /** Libevent callback: invoked when we get a signal.
  */
 static void
-signal_callback(int fd, short events, void *arg)
+signal_callback(evutil_socket_t fd, short events, void *arg)
 {
   const int *sigptr = arg;
   const int sig = *sigptr;





More information about the tor-commits mailing list