diff options
author | Susan LoVerso <sue@wiredtiger.com> | 2014-09-11 15:50:39 -0400 |
---|---|---|
committer | Susan LoVerso <sue@wiredtiger.com> | 2014-09-11 15:50:39 -0400 |
commit | 34222b005ee0f5eab62e4e05dc108d4351e0dc78 (patch) | |
tree | 2a37d6eefbd93cb5e29a281f5bd4864d4cbfd516 /bench | |
parent | 5e2285ec4ad0ab2f2e462263c1cd14322891ca19 (diff) | |
download | mongo-34222b005ee0f5eab62e4e05dc108d4351e0dc78.tar.gz |
Fix warning.
Diffstat (limited to 'bench')
-rw-r--r-- | bench/wtperf/wtperf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bench/wtperf/wtperf.c b/bench/wtperf/wtperf.c index 3469f0f1599..b6d65761b5a 100644 --- a/bench/wtperf/wtperf.c +++ b/bench/wtperf/wtperf.c @@ -1282,7 +1282,7 @@ execute_populate(CONFIG *cfg) lprintf(cfg, 0, 1, "Load time: %.2f\n" "load ops/sec: %" PRIu64, (double)msecs / (double)THOUSAND, - (cfg->icount / msecs) / THOUSAND); + (uint64_t)((cfg->icount / msecs) / THOUSAND)); /* * If configured, compact to allow LSM merging to complete. We @@ -1324,7 +1324,7 @@ execute_populate(CONFIG *cfg) } lprintf(cfg, 0, 1, "Compact completed in %" PRIu64 " seconds", - ns_to_sec(WT_TIMEDIFF(stop, start))); + (uint64_t)(ns_to_sec(WT_TIMEDIFF(stop, start)))); assert(tables == 0); } return (0); |