summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: c3e27b7)
raw | patch | inline | side by side (parent: c3e27b7)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Sun, 18 Apr 2010 16:33:54 +0000 (16:33 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Sun, 18 Apr 2010 16:33:54 +0000 (16:33 +0000) |
program/src/rrd_format.h | patch | blob | history |
index cc65e970570c079b9c9dcde7449af5d2ea89cab0..9c5b9cd8fa14720c35f694592fee8414b6bdd256 100644 (file)
--- a/program/src/rrd_format.h
+++ b/program/src/rrd_format.h
/* changed because microsecond precision requires another field */
#define RRD_VERSION "0004"
#define RRD_VERSION3 "0003"
-#define FLOAT_COOKIE 8.642135E130
+#define FLOAT_COOKIE ((double)8.642135E130)
typedef union unival {
unsigned long u_cnt;