From: Ruben Kerkhof Date: Fri, 15 Jul 2016 20:13:47 +0000 (+0200) Subject: zookeeper plugin: remove unneccesary cast X-Git-Tag: collectd-5.6.0~207 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=4489345f2549883041e4a2b0b0157cda16fbe2e1;p=collectd.git zookeeper plugin: remove unneccesary cast --- diff --git a/src/zookeeper.c b/src/zookeeper.c index 89ec6d26..860e93d7 100644 --- a/src/zookeeper.c +++ b/src/zookeeper.c @@ -111,7 +111,7 @@ static int zookeeper_connect (void) const char *host; const char *port; - memset ((void *) &ai_hints, '\0', sizeof (ai_hints)); + memset (&ai_hints, '\0', sizeof (ai_hints)); ai_hints.ai_family = AF_UNSPEC; ai_hints.ai_socktype = SOCK_STREAM;