From c678b44c57256abd830b96742f18db5d49ccaf4c Mon Sep 17 00:00:00 2001 From: Ruben Kerkhof Date: Sat, 23 Apr 2016 11:30:19 +0200 Subject: [PATCH] openvpn plugin: remove unnecessary cast --- src/openvpn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]; -- 2.30.2