From 95285a6e5630a0a02a2cc6fe9feb49e71038bed7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Sun, 17 Feb 2019 15:51:49 +0100 Subject: Use socklen_t directly, instead of deprecated ksize_t. This resolves FTBFS on FreeBSD 12. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- ksirc/puke/controller.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ksirc/puke') diff --git a/ksirc/puke/controller.cpp b/ksirc/puke/controller.cpp index bbcf6de6..06d290fb 100644 --- a/ksirc/puke/controller.cpp +++ b/ksirc/puke/controller.cpp @@ -162,7 +162,7 @@ TQStrList PukeController::allObjects() void PukeController::NewConnect(int) { int cfd; - ksize_t len = 0; + socklen_t len = 0; struct sockaddr_un unix_addr; cfd = accept(iListenFd, (struct sockaddr *)&unix_addr, &len); -- cgit v1.2.1