X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Frrd_format.h;h=4046af21628f4e284b1bfc5577453e68886632a5;hb=3e4e57c524ed5bbded8aa2a96cd99c5c26c980cf;hp=dd07f5170d07d99293cc81e0bd4e01411c526a88;hpb=219fd9224e3117dcf59df8818d4e9e3eab26022a;p=rrdtool.git diff --git a/src/rrd_format.h b/src/rrd_format.h index dd07f51..4046af2 100644 --- a/src/rrd_format.h +++ b/src/rrd_format.h @@ -1,5 +1,5 @@ /***************************************************************************** - * RRDtool 1.3.2 Copyright by Tobi Oetiker, 1997-2008 + * RRDtool 1.4.3 Copyright by Tobi Oetiker, 1997-2010 ***************************************************************************** * rrd_format.h RRD Database Format header *****************************************************************************/ @@ -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; @@ -245,7 +245,7 @@ enum rra_par_en { RRA_cdp_xff_val = 0, /* what part of the consolidated RRA_delta_neg = 2, /* RRA_dependent_rra_idx = 3, */ RRA_window_len = 4, - RRA_failure_threshold = 5, + RRA_failure_threshold = 5 /* For CF_FAILURES, number of violations within the last * window required to mark a failure. */ };