summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0a9db6a)
raw | patch | inline | side by side (parent: 0a9db6a)
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) |
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2069 a5681a0c-68f1-0310-ab6d-d61299d08faa
src/rrd_format.h | patch | blob | history |
diff --git a/src/rrd_format.h b/src/rrd_format.h
index 75a3c52620348da2cc5c2b04ed25213fb55cb043..4046af21628f4e284b1bfc5577453e68886632a5 100644 (file)
--- a/src/rrd_format.h
+++ b/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;