From e0eeb74df35c5c42d00f7402834188948261b315 Mon Sep 17 00:00:00 2001 From: Keith Bostic Date: Mon, 3 Aug 2015 07:56:58 -0400 Subject: wtperf_truncate.c 61 Warning 524: Loss of precision (assignment) (double to unsigned long long) wtperf_truncate.c 61 Info 732: Loss of sign (assignment) (double to unsigned long long) Fix a comment. --- bench/wtperf/wtperf.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'bench/wtperf/wtperf.h') diff --git a/bench/wtperf/wtperf.h b/bench/wtperf/wtperf.h index 6d4720c86f7..58dc65388ae 100644 --- a/bench/wtperf/wtperf.h +++ b/bench/wtperf/wtperf.h @@ -95,7 +95,7 @@ typedef struct { int64_t ops_per_txn; int64_t truncate; /* Truncate ratio */ uint64_t truncate_pct; /* Truncate Percent */ - uint64_t truncate_count; /* Truncate Percent */ + uint64_t truncate_count; /* Truncate Count */ #define WORKER_INSERT 1 /* Insert */ #define WORKER_INSERT_RMW 2 /* Insert with read-modify-write */ @@ -108,7 +108,6 @@ typedef struct { /* Steering items for the truncate workload */ typedef struct __truncate_struct TRUNCATE_CONFIG; struct __truncate_struct { - double truncation_percentage; uint64_t stone_gap; uint64_t needed_stones; uint64_t final_stone_gap; -- cgit v1.2.1