From ab9f6828ebf929e8b3b77219c0048747bb4eeeeb Mon Sep 17 00:00:00 2001 From: squid Date: Tue, 31 Jan 2012 17:53:37 +0100 Subject: [PATCH] Windows portability fix. --- tools/squidclient.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/squidclient.cc b/tools/squidclient.cc index 5de3a13bbf..5bf0705027 100644 --- a/tools/squidclient.cc +++ b/tools/squidclient.cc @@ -827,7 +827,7 @@ static ssize_t mywrite(int fd, void *buf, size_t len) { #if _SQUID_WINDOWS_ - return Squid::send(fd, buf, len, 0); + return Squid::send(fd, static_cast(buf), len, 0); #else alarm(io_timeout); return write(fd, buf, len); -- 2.47.2