X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Frrd_format.h;h=4046af21628f4e284b1bfc5577453e68886632a5;hb=a3f32f5a1f6c5c58a3028aca1e4b6ae5472e76b6;hp=75a3c52620348da2cc5c2b04ed25213fb55cb043;hpb=19f031713115921bebf5949ce63926d66dd8c6a5;p=rrdtool.git diff --git a/src/rrd_format.h b/src/rrd_format.h index 75a3c52..4046af2 100644 --- 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;