From: Ruben Kerkhof Date: Sat, 15 Dec 2018 18:20:43 +0000 (+0100) Subject: utils_rrdcreate.c: fix minor style issue X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=cfa076124a5897e7f5bcbf3c53343693bea3c371;p=collectd.git utils_rrdcreate.c: fix minor style issue --- diff --git a/src/utils_rrdcreate.c b/src/utils_rrdcreate.c index 8f92cfd3..7f1f2354 100644 --- a/src/utils_rrdcreate.c +++ b/src/utils_rrdcreate.c @@ -111,7 +111,7 @@ static srrd_create_args_t *srrd_create_args_create(const char *filename, return NULL; } - args->argv = calloc((size_t)(argc + 1), sizeof(*args->argv)); + args->argv = calloc(argc + 1, sizeof(*args->argv)); if (args->argv == NULL) { P_ERROR("srrd_create_args_create: calloc failed."); srrd_create_args_destroy(args);