diff options
author | Jeffrey Walton <noloader@gmail.com> | 2015-07-26 12:01:57 -0400 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2015-07-26 12:01:57 -0400 |
commit | 5eefa99e68f875f635a973c6407c30388148f3c5 (patch) | |
tree | c4fcfcb2a6c5a87e14a294fc274dbbb57260f6b3 /nbtheory.cpp | |
parent | 1997c21b37bf6db7046ecf573296822b378f5607 (diff) | |
download | cryptopp-git-5eefa99e68f875f635a973c6407c30388148f3c5.tar.gz |
Cleared truncation warning under MSVC
Diffstat (limited to 'nbtheory.cpp')
-rw-r--r-- | nbtheory.cpp | 2 |
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()); } } |