Commit aa4d7caa authored by Davis King's avatar Davis King

Changed slightly to avoid compiler error in gcc 4.1.2

parent 24e3fe50
......@@ -18,7 +18,7 @@ namespace dlib
)
{
const std::pair<uint64,uint64> h = murmur_hash3_128bit_3(k1,k2,k3);
const uint64 mask = 0xFFFFFFFFFF;
const uint64 mask = 0xFFFFFFFFFFLLU;
const double max = mask+1;
return static_cast<double>(h.first&mask)/max;
}
......
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