SHA256
1
0
forked from pool/rrdtool
rrdtool/rrdtool-1.4.3-double.diff
OBS User autobuild 987593c329 Accepting request 38070 from devel:languages:python
Copy from devel:languages:python/rrdtool based on submit request 38070 from user anicka

OBS-URL: https://build.opensuse.org/request/show/38070
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rrdtool?expand=0&rev=23
2010-04-18 22:18:32 +00:00

14 lines
462 B
Diff

Index: rrdtool-1.4.3/src/rrd_format.h
===================================================================
--- rrdtool-1.4.3.orig/src/rrd_format.h
+++ rrdtool-1.4.3/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;