Commit 1aae5548 authored by Christian Würdig's avatar Christian Würdig
Browse files

added cast to avoid compiler warning

[r13412]
parent c79dbaa3
......@@ -525,7 +525,7 @@ void hashset_init_size(HashSet *this, size_t expected_elements)
abort();
}
needed_size = expected_elements * (1.0 / HT_OCCUPANCY_FLT);
needed_size = expected_elements * (int)(1.0 / HT_OCCUPANCY_FLT);
po2size = ceil_po2(needed_size);
init_size(this, po2size);
}
......
Supports Markdown
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