On FreeBSD amd64 systems (and possibly others), connections could break after about...
authorAri Johnson <ari@cobramush.org>
Tue, 20 Feb 2007 17:02:58 +0000 (17:02 +0000)
committerAri Johnson <ari@cobramush.org>
Tue, 20 Feb 2007 17:02:58 +0000 (17:02 +0000)
src/bsd.c

index 187ec829d89a797afee3a8e9a49c77b90458189c..80341479262572c1b149cdfddc8ecdd5d7a15b55 100644 (file)
--- a/src/bsd.c
+++ b/src/bsd.c
@@ -1021,7 +1021,7 @@ shovechars(Port_t port, Port_t sslport __attribute__ ((__unused__)))
   socklen_t addr_len;
   int newsock;
 #endif
-  int input_ready, output_ready;
+  unsigned long input_ready, output_ready;
 
 #ifdef NT_TCP
   if (platform != VER_PLATFORM_WIN32_NT)