summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e0da5c9)
raw | patch | inline | side by side (parent: e0da5c9)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Sun, 10 Sep 2006 19:26:05 +0000 (19:26 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Sun, 10 Sep 2006 19:26:05 +0000 (19:26 +0000) |
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@892 a5681a0c-68f1-0310-ab6d-d61299d08faa
src/rrd_rpncalc.c | patch | blob | history |
diff --git a/src/rrd_rpncalc.c b/src/rrd_rpncalc.c
index 2dab2a9a3d17f43f71822cbd041eebc6ced24e58..f90c214b4bc454edfdbcee28d1a9b00cf6526d0b 100644 (file)
--- a/src/rrd_rpncalc.c
+++ b/src/rrd_rpncalc.c
case OP_AVG:
stackunderflow(0);
{
- int i=rpnstack -> s[stptr--];
+ int i=(int)rpnstack -> s[stptr--];
double sum=0;
int count=0;
stackunderflow(i-1);