From 1b3e36851fc2a6535379718674c1473b148202b4 Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Wed, 2 Jul 2008 15:21:55 +0200 Subject: [PATCH] rrdtool plugin: Use a hack to case the `argv' pointers in a portable way. --- src/rrdtool.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/rrdtool.c b/src/rrdtool.c index adf6eeb1..161037ca 100644 --- a/src/rrdtool.c +++ b/src/rrdtool.c @@ -342,7 +342,7 @@ static int srrd_create (char *filename, unsigned long pdp_step, time_t last_up, optind = 0; /* bug in librrd? */ rrd_clear_error (); - status = rrd_create_r (filename, pdp_step, last_up, argc, argv); + status = rrd_create_r (filename, pdp_step, last_up, argc, (void *) argv); if (status != 0) { @@ -360,7 +360,7 @@ static int srrd_update (char *filename, char *template, int argc, char **argv) optind = 0; /* bug in librrd? */ rrd_clear_error (); - status = rrd_update_r (filename, template, argc, argv); + status = rrd_update_r (filename, template, argc, (void *) argv); if (status != 0) { -- 2.30.2