mirror of
https://github.com/davisking/dlib.git
synced 2024-11-01 10:14:53 +08:00
fixed compiler warning in visual studio
--HG-- extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402643
This commit is contained in:
parent
3a082e2aa9
commit
8ebd22a4c2
@ -216,7 +216,7 @@ namespace dlib
|
|||||||
uint64 id
|
uint64 id
|
||||||
) const
|
) const
|
||||||
{
|
{
|
||||||
return id%tasks.size();
|
return static_cast<unsigned long>(id%tasks.size());
|
||||||
}
|
}
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user