summaryrefslogtreecommitdiffstats
path: root/web/api/formatters/ssv/ssv.c
diff options
context:
space:
mode:
Diffstat (limited to 'web/api/formatters/ssv/ssv.c')
-rw-r--r--web/api/formatters/ssv/ssv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/api/formatters/ssv/ssv.c b/web/api/formatters/ssv/ssv.c
index 8d3ddbfd..850182da 100644
--- a/web/api/formatters/ssv/ssv.c
+++ b/web/api/formatters/ssv/ssv.c
@@ -17,7 +17,7 @@ void rrdr2ssv(RRDR *r, BUFFER *wb, RRDR_OPTIONS options, const char *prefix, con
// for each line in the array
for(i = start; i != end ;i += step) {
int all_values_are_null = 0;
- calculated_number v = rrdr2value(r, i, options, &all_values_are_null, temp_rd);
+ NETDATA_DOUBLE v = rrdr2value(r, i, options, &all_values_are_null, NULL, temp_rd);
if(likely(i != start)) {
if(r->min > v) r->min = v;