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(p)); testEntriesEnd = UnsignedMin(54U, primeTable.size()); } }