From: Ruben Kerkhof Date: Sat, 23 Apr 2016 09:30:19 +0000 (+0200) Subject: openvpn plugin: remove unnecessary cast X-Git-Tag: collectd-5.6.0~329^2~20 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=c678b44c57256abd830b96742f18db5d49ccaf4c;p=collectd.git openvpn plugin: remove unnecessary cast --- diff --git a/src/openvpn.c b/src/openvpn.c index ec76a7aa..f10b1746 100644 --- a/src/openvpn.c +++ b/src/openvpn.c @@ -712,7 +712,7 @@ static int openvpn_config (const char *key, const char *value) temp->version = status_version; temp->name = status_name; - vpn_list = (vpn_status_t **) realloc (vpn_list, (vpn_num + 1) * sizeof (vpn_status_t *)); + vpn_list = realloc (vpn_list, (vpn_num + 1) * sizeof (vpn_status_t *)); if (vpn_list == NULL) { char errbuf[1024];