diff --git a/src/sbbs3/websrvr.c b/src/sbbs3/websrvr.c
index 532616d0be161adecc6b96cde43f3bcf096c3e22..d687da9de123d4aa5fa4ccada1d3b6d723caec00 100644
--- a/src/sbbs3/websrvr.c
+++ b/src/sbbs3/websrvr.c
@@ -94,7 +94,7 @@ enum {
 static scfg_t	scfg;
 static BOOL		scfg_reloaded=TRUE;
 static BOOL		http_logging_thread_running=FALSE;
-static ulong	active_clients=0;
+static DWORD	active_clients=0;
 static ulong	sockets=0;
 static BOOL		terminate_server=FALSE;
 static BOOL		terminate_http_logging_thread=FALSE;