diff options
author | Michael Cahill <michael.cahill@mongodb.com> | 2016-10-07 15:27:37 +1100 |
---|---|---|
committer | Alex Gorrod <alexander.gorrod@mongodb.com> | 2016-10-07 15:27:37 +1100 |
commit | d6c7a001dded7b000a08d8675592f912ccdbab79 (patch) | |
tree | 21fb229070aa02ac8ad942254cfc516ece22a9d3 /bench | |
parent | 6775c3401a4e51aeff02c0f369ba7a8a0b9af633 (diff) | |
download | mongo-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')
0 files changed, 0 insertions, 0 deletions