summaryrefslogtreecommitdiff
path: root/bench/wtperf
diff options
context:
space:
mode:
authorMichael Cahill <michael.cahill@mongodb.com>2016-10-07 15:27:37 +1100
committerAlex Gorrod <alexander.gorrod@mongodb.com>2016-10-07 15:27:37 +1100
commitd6c7a001dded7b000a08d8675592f912ccdbab79 (patch)
tree21fb229070aa02ac8ad942254cfc516ece22a9d3 /bench/wtperf
parent6775c3401a4e51aeff02c0f369ba7a8a0b9af633 (diff)
downloadmongo-d6c7a001dded7b000a08d8675592f912ccdbab79.tar.gz
WT-2937 Fix a warning. (#3084)
../src/evict/evict_lru.c:1081:29: error: implicit conversion loses integer precision: 'unsigned long long' to 'u_int' (aka 'unsigned int') [-Werror,-Wshorten-64-to-32] WT_MIN(max_entries, 1 + __wt_cache_pages_inuse(cache) / 2); ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/include/misc.h:62:42: note: expanded from macro 'WT_MIN' ^ ../src/evict/evict_lru.c:1084:29: error: implicit conversion loses integer precision: 'unsigned long long' to 'u_int' (aka 'unsigned int') [-Werror,-Wshorten-64-to-32] WT_MIN(max_entries, 1 + cache->pages_dirty_leaf / 2); ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/include/misc.h:62:42: note: expanded from macro 'WT_MIN'
Diffstat (limited to 'bench/wtperf')
0 files changed, 0 insertions, 0 deletions