Commit 7af1734d authored by Davis King's avatar Davis King

Changed to avoid compiler errors in visual studio

parent 580d90f0
......@@ -18,7 +18,7 @@ namespace dlib
)
{
const std::pair<uint64,uint64> h = murmur_hash3_128bit_3(k1,k2,k3);
const uint64 mask = 0xFFFFFFFFFFLLU;
const uint64 mask = DLIB_BIG_CONSTANT(0xFFFFFFFFFF);
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