summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 6a2ad1a)
raw | patch | inline | side by side (parent: 6a2ad1a)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Tue, 1 May 2007 16:23:19 +0000 (16:23 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Tue, 1 May 2007 16:23:19 +0000 (16:23 +0000) |
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@1037 a5681a0c-68f1-0310-ab6d-d61299d08faa
src/rrd_create.c | patch | blob | history | |
src/rrd_update.c | patch | blob | history |
diff --git a/src/rrd_create.c b/src/rrd_create.c
index 1c3edc182d4e057e5aa44923fad85a3bedc37859..485be2630bf2a995a190fcc66f155562b3ce95f4 100644 (file)
--- a/src/rrd_create.c
+++ b/src/rrd_create.c
}
rc = rrd_create_r(argv[optind],
pdp_step, last_up,
- argc - optind - 1, argv + optind + 1);
+ argc - optind - 1, (const char **)(argv + optind + 1));
return rc;
}
diff --git a/src/rrd_update.c b/src/rrd_update.c
index d853c5b166c3984b632505147be500c17025d679..95ca90ea3abc63004d97ebb06a6e6a440cc2c608 100644 (file)
--- a/src/rrd_update.c
+++ b/src/rrd_update.c
rc.u_int = 0;
result = info_push(NULL,sprintf_alloc("return_value"),RD_I_INT,rc);
rc.u_int = _rrd_update(argv[optind], tmplt,
- argc - optind - 1, argv + optind + 1, result);
+ argc - optind - 1, (const char **)(argv + optind + 1), result);
result->value.u_int = rc.u_int;
end_tag:
return result;
}
rc = rrd_update_r(argv[optind], tmplt,
- argc - optind - 1, argv + optind + 1);
+ argc - optind - 1, (const char **)(argv + optind + 1));
return rc;
}