summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 825b3f7)
raw | patch | inline | side by side (parent: 825b3f7)
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) |
program/src/rrd_create.c | patch | blob | history | |
program/src/rrd_update.c | patch | blob | history |
index 1c3edc182d4e057e5aa44923fad85a3bedc37859..485be2630bf2a995a190fcc66f155562b3ce95f4 100644 (file)
--- a/program/src/rrd_create.c
+++ b/program/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;
}
index d853c5b166c3984b632505147be500c17025d679..95ca90ea3abc63004d97ebb06a6e6a440cc2c608 100644 (file)
--- a/program/src/rrd_update.c
+++ b/program/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;
}