From 5d070242af6018565c505d2209ed311561ebf773 Mon Sep 17 00:00:00 2001 From: oetiker Date: Wed, 2 Jun 2010 04:45:21 +0000 Subject: [PATCH] rrd_client.c: gcc 4.0.1 produced a warning and require same types. Warning shown was: "assignement discards qualifers from pointer target type" -- Antoine MUSSO git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@2084 a5681a0c-68f1-0310-ab6d-d61299d08faa --- program/src/rrd_client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/program/src/rrd_client.c b/program/src/rrd_client.c index b3294f4a..d2922813 100644 --- a/program/src/rrd_client.c +++ b/program/src/rrd_client.c @@ -828,7 +828,7 @@ int rrdc_fetch (const char *filename, /* {{{ */ size_t buffer_size; rrdc_response_t *res; char path_buffer[PATH_MAX]; - char *path_ptr; + const char *path_ptr; char *str_tmp; unsigned long flush_version; -- 2.30.2