Cleared truncation warning under MSVC

pull/35/head
Jeffrey Walton 2015-07-26 12:01:57 -04:00
parent 1997c21b37
commit 5eefa99e68
1 changed files with 1 additions and 1 deletions

View File

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