gcc 4.0.1 produced a warning and require same types. Warning shown was:
"assignement discards qualifers from pointer target type"
---
  src/rrd_client.c |    2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)

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;
-- 
1.7.0.4

_______________________________________________
rrd-developers mailing list
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-developers

Reply via email to