This change fixes a -Wconversion warning in g++ version 4.9.2 on mac yosemite. For example, in multi_index/example, I run
g++ -Wconversion -I../../.. -o hashed hashed.cpp
and get the warning. With the change, I do not get the warning. I'm guessing that the compiler is being picky since bucket_count() is unsigned. mlf is a float, so I think this still has the intended effect.
This change fixes a -Wconversion warning in g++ version 4.9.2 on mac yosemite. For example, in multi_index/example, I run
g++ -Wconversion -I../../.. -o hashed hashed.cpp
and get the warning. With the change, I do not get the warning. I'm guessing that the compiler is being picky since bucket_count() is unsigned. mlf is a float, so I think this still has the intended effect.