summaryrefslogtreecommitdiff
path: root/nbtheory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'nbtheory.cpp')
-rw-r--r--nbtheory.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/nbtheory.cpp b/nbtheory.cpp
index f4f53ac3..28c35678 100644
--- a/nbtheory.cpp
+++ b/nbtheory.cpp
@@ -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());
}
}