fixed compiler warning in visual studio

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402643
This commit is contained in:
Davis King 2008-11-07 23:57:28 +00:00
parent 3a082e2aa9
commit 8ebd22a4c2

View File

@ -216,7 +216,7 @@ namespace dlib
uint64 id
) const
{
return id%tasks.size();
return static_cast<unsigned long>(id%tasks.size());
}
// ----------------------------------------------------------------------------------------