From 60cdfe7613c232c5257ba6010c54f7e38b457e93 Mon Sep 17 00:00:00 2001 From: Ruben Kerkhof Date: Sat, 23 Jul 2016 15:16:41 +0200 Subject: [PATCH] libcollectdclient: remove unneccesary cast --- src/libcollectdclient/client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libcollectdclient/client.c b/src/libcollectdclient/client.c index 8b5ac0bd..26a59297 100644 --- a/src/libcollectdclient/client.c +++ b/src/libcollectdclient/client.c @@ -693,7 +693,7 @@ int lcc_getval (lcc_connection_t *c, lcc_identifier_t *ident, /* {{{ */ if (ret_values_names != NULL) { - values_names = (char **) calloc (values_num, sizeof (*values_names)); + values_names = calloc (values_num, sizeof (*values_names)); if (values_names == NULL) BAIL_OUT (ENOMEM); } -- 2.11.0