Index: web/perfdata.c
===================================================================
--- web/perfdata.c	(revision 8123)
+++ web/perfdata.c	(working copy)
@@ -111,7 +111,7 @@
 	rrdargs[9] = NULL;
 
 	optind = opterr = 0; rrd_clear_error();
-	result = rrd_fetch(9, rrdargs,
+	result = rrd_fetch(9, (const char **)rrdargs,
 			   &start, &end, &step, &dscount, &dsnames, &data);
 
 	if (result != 0) {
Index: web/showgraph.c
===================================================================
--- web/showgraph.c	(revision 8123)
+++ web/showgraph.c	(working copy)
@@ -1191,7 +1191,7 @@
 	rrd_clear_error();
 
 #ifdef RRDTOOL12
-	result = rrd_graph(rrdargcount, rrdargs, &calcpr, &xsize, &ysize, NULL, &ymin, &ymax);
+	result = rrd_graph(rrdargcount, (const char **)rrdargs, &calcpr, &xsize, &ysize, NULL, &ymin, &ymax);
 
 	/*
 	 * If we have neither the upper- nor lower-limits of the graph, AND we allow vertical 
Index: xymond/do_rrd.c
===================================================================
--- xymond/do_rrd.c	(revision 8123)
+++ xymond/do_rrd.c	(working copy)
@@ -239,7 +239,7 @@
 
 	for (pcount = 0; (updparams[pcount]); pcount++);
 	optind = opterr = 0; rrd_clear_error();
-	result = rrd_update(pcount, updparams);
+	result = rrd_update(pcount, (const char **)updparams);
 
 #if defined(LINUX) && defined(RRDTOOL12)
 	/*
@@ -378,7 +378,7 @@
 		 * we MUST reset this before every call.
 		 */
 		optind = opterr = 0; rrd_clear_error();
-		result = rrd_create(4+pcount, rrdcreate_params);
+		result = rrd_create(4+pcount, (const char **)rrdcreate_params);
 		xfree(rrdcreate_params);
 		if (rrakey) xfree(rrakey);
 
@@ -600,7 +600,7 @@
 	if (stat(filedir, &st) == -1) return 0;
 
 	optind = opterr = 0; rrd_clear_error();
-	result = rrd_fetch(5, fetch_params, &starttime, &endtime, &steptime, &dscount, dsnames, &rrddata);
+	result = rrd_fetch(5, (const char **)fetch_params, &starttime, &endtime, &steptime, &dscount, dsnames, &rrddata);
 	if (result == -1) {
 		errprintf("Error while retrieving RRD dataset names from %s: %s\n",
 			  filedir, rrd_get_error());
