Cleared truncation warning under MSVC

This commit is contained in:
Jeffrey Walton 2015-07-26 12:01:57 -04:00
parent 1997c21b37
commit 5eefa99e68

View File

@ -45,7 +45,7 @@ struct NewPrimeTable
break; break;
if (j == testEntriesEnd) if (j == testEntriesEnd)
{ {
primeTable.push_back(p); primeTable.push_back(static_cast<word16>(p));
testEntriesEnd = UnsignedMin(54U, primeTable.size()); testEntriesEnd = UnsignedMin(54U, primeTable.size());
} }
} }