From 3d446f24f923d4e7d15204008adb59d88d1d692d 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/program@2084 a5681a0c-68f1-0310-ab6d-d61299d08faa --- src/rrd_client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rrd_client.c b/src/rrd_client.c index b3294f4..d292281 100644 --- a/src/rrd_client.c +++ b/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.11.0