From: oetiker Date: Wed, 2 Jun 2010 04:45:21 +0000 (+0000) Subject: rrd_client.c: gcc 4.0.1 produced a warning and require same types. Warning shown... X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=3d446f24f923d4e7d15204008adb59d88d1d692d;p=rrdtool.git 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 --- 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;