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

Added a cast to avoid a compiler warning

parent 79e65080
......@@ -131,7 +131,7 @@ namespace dlib
else if (val < std::numeric_limits<T>::infinity())
{
int exp;
mantissa = _frexp(val, &exp)*(((uint64)1)<<digits);
mantissa = (int64)_frexp(val, &exp)*(((uint64)1)<<digits);
exponent = exp - digits;
// Compact the representation a bit by shifting off any low order bytes
......
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