projects
/
rrdtool.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
rrd_update and rrd_rpncalc - fix casts introduced by win32 patch to make gcc happy too
[rrdtool.git]
/
src
/
rrd_format.h
diff --git
a/src/rrd_format.h
b/src/rrd_format.h
index
75a3c52
..
4046af2
100644
(file)
--- a/
src/rrd_format.h
+++ b/
src/rrd_format.h
@@
-35,7
+35,7
@@
/* 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;