From ee4da7ebb5d32fb7edfdc6707efb370586f4ebb5 Mon Sep 17 00:00:00 2001
From: Ari Johnson <ari@cobramush.org>
Date: Tue, 20 Feb 2007 17:02:58 +0000
Subject: [PATCH] On FreeBSD amd64 systems (and possibly others), connections
 could break after about 32 connections

---
 src/bsd.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bsd.c b/src/bsd.c
index 187ec82..8034147 100644
--- 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)
-- 
2.30.2