From 5eefa99e68f875f635a973c6407c30388148f3c5 Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Sun, 26 Jul 2015 12:01:57 -0400 Subject: Cleared truncation warning under MSVC --- nbtheory.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nbtheory.cpp') 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()); } } -- cgit v1.2.1