summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 57b26cd)
raw | patch | inline | side by side (parent: 57b26cd)
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) |
program/src/rrd_rpncalc.c | patch | blob | history |
index 2dab2a9a3d17f43f71822cbd041eebc6ced24e58..f90c214b4bc454edfdbcee28d1a9b00cf6526d0b 100644 (file)
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);