Commit 8ebd22a4 authored by Davis King's avatar Davis King

fixed compiler warning in visual studio

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402643
parent 3a082e2a
...@@ -216,7 +216,7 @@ namespace dlib ...@@ -216,7 +216,7 @@ namespace dlib
uint64 id uint64 id
) const ) const
{ {
return id%tasks.size(); return static_cast<unsigned long>(id%tasks.size());
} }
// ---------------------------------------------------------------------------------------- // ----------------------------------------------------------------------------------------
......
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