summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 00b7dbf)
raw | patch | inline | side by side (parent: 00b7dbf)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Fri, 2 Jul 2010 05:33:10 +0000 (05:33 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Fri, 2 Jul 2010 05:33:10 +0000 (05:33 +0000) |
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2098 a5681a0c-68f1-0310-ab6d-d61299d08faa
src/rrd_rpncalc.c | patch | blob | history | |
src/rrd_update.c | patch | blob | history |
diff --git a/src/rrd_rpncalc.c b/src/rrd_rpncalc.c
index b563db40a8c5154c96dfb57badec4379187fd334..80eb14450eb432c496dd588b9860b22ee8573d7f 100644 (file)
--- a/src/rrd_rpncalc.c
+++ b/src/rrd_rpncalc.c
return NULL;
}
for (i = 0; rpnc[i].op != OP_END; ++i) {
- rpnp[i].op = (op_en)rpnc[i].op;
+ rpnp[i].op = (enum op_en)rpnc[i].op;
if (rpnp[i].op == OP_NUMBER) {
rpnp[i].val = (double) rpnc[i].val;
} else if (rpnp[i].op == OP_VARIABLE || rpnp[i].op == OP_PREV_OTHER) {
diff --git a/src/rrd_update.c b/src/rrd_update.c
index 23c072cb3e6de2f46aa75708b4a01ecc869d6851..c4fa876dd255455c313ca687429865da8225370a 100644 (file)
--- a/src/rrd_update.c
+++ b/src/rrd_update.c
if (elapsed_pdp_st > 2) {
reset_cdp(rrd, elapsed_pdp_st, pdp_temp, last_seasonal_coef,
seasonal_coef, rra_idx, ds_idx, cdp_idx,
- (cf_en)current_cf);
+ (enum cf_en)current_cf);
}
}