Commit 90356896 authored by Nils Goroll's avatar Nils Goroll

bitmask to apply on unsigned long should be that

parent 0bd618ec
......@@ -969,7 +969,7 @@ main(int argc, char *argv[])
take_free();
eol++;
/* re-adjust idle pause every 1024 seen txn */
if ((seen & (~0L << 10)) > (last_seen & (~0L << 10))) {
if ((seen & (~0UL << 10)) > (last_seen & (~0UL << 10))) {
double t = VTIM_mono();
idle_pause = (t - last_t) / (double) (seen - last_seen);
last_seen = seen;
......
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