[master] 2a35476 Flexelinting

Poul-Henning Kamp phk at FreeBSD.org
Mon Feb 19 10:56:08 UTC 2018


commit 2a35476217c72718b8b265cc14731bfbe81b2b26
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Mon Feb 19 10:55:41 2018 +0000

    Flexelinting

diff --git a/lib/libvarnish/vus.c b/lib/libvarnish/vus.c
index 3b4ff20..8471d15 100644
--- a/lib/libvarnish/vus.c
+++ b/lib/libvarnish/vus.c
@@ -85,7 +85,7 @@ VUS_bind(const struct sockaddr_un *uds, const char **errp)
 		return (-1);
 	}
 
-	if (bind(sd, (const struct sockaddr *)uds, sl) != 0) {
+	if (bind(sd, (const void*)uds, sl) != 0) {
 		if (errp != NULL)
 			*errp = "bind(2)";
 		e = errno;


More information about the varnish-commit mailing list