summaryrefslogtreecommitdiff
path: root/nbtheory.cpp
diff options
context:
space:
mode:
authorweidai <weidai11@users.noreply.github.com>2003-07-19 05:16:49 +0000
committerweidai <weidai11@users.noreply.github.com>2003-07-19 05:16:49 +0000
commit4e67d234685fbcd166adef647d80a4c7715267ec (patch)
treefb0ae32696c7eb50b7d34206ece7d5d01e4c3763 /nbtheory.cpp
parentae4d4795379d0e9f7705b5a88548659977746a53 (diff)
downloadcryptopp-git-4e67d234685fbcd166adef647d80a4c7715267ec.tar.gz
fix 64-bit CPU issues
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 2a517d7c..ee015a46 100644
--- a/nbtheory.cpp
+++ b/nbtheory.cpp
@@ -34,7 +34,7 @@ std::vector<word> * NewPrimeTable()
if (j == testEntriesEnd)
{
primeTable.push_back(p);
- testEntriesEnd = STDMIN(54U, primeTable.size());
+ testEntriesEnd = STDMIN((size_t)54U, primeTable.size());
}
}