Commit 985e1881 authored by Zardosht Kasheff's avatar Zardosht Kasheff Committed by Yoni Fogel

refs #5802, add some casts

git-svn-id: file:///svn/toku/tokudb@51205 c7de825b-a66e-492c-adef-691d508d4ae1
parent d13962d4
...@@ -3788,7 +3788,7 @@ bool evictor::run_eviction_on_pair(PAIR curr_in_clock) { ...@@ -3788,7 +3788,7 @@ bool evictor::run_eviction_on_pair(PAIR curr_in_clock) {
// and dividing each side by 2^16, // and dividing each side by 2^16,
// we get the if-clause below // we get the if-clause below
// //
if ((curr_size* n_in_table) >= (rnd * size_current)>>16) { if ((((uint64_t)curr_size) * n_in_table) >= (((uint64_t)rnd) * size_current))>>16) {
curr_in_clock->count--; curr_in_clock->count--;
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment