From cdf59c476faf3e422ed5ade76c8e083781111676 Mon Sep 17 00:00:00 2001 From: Eduardo Bragatto Date: Tue, 18 Nov 2014 07:01:35 -0200 Subject: [PATCH] Undone changes to rrd_update.c --- src/rrd_update.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rrd_update.c b/src/rrd_update.c index 741e69dd..9516cf7d 100644 --- a/src/rrd_update.c +++ b/src/rrd_update.c @@ -1072,7 +1072,7 @@ static int update_pdp_prep( * ... are there any others in SNMP land? */ if (pdp_new[ds_idx] < (double) 0.0) - pdp_new[ds_idx] += (double) 4294967295.0; /* 2^32 - 1 */ + pdp_new[ds_idx] += (double) 4294967296.0; /* 2^32 */ if (pdp_new[ds_idx] < (double) 0.0) pdp_new[ds_idx] += (double) 18446744069414584320.0; /* 2^64-2^32 */ } -- 2.47.2