summaryrefslogtreecommitdiff
path: root/nbtheory.cpp
diff options
context:
space:
mode:
authorweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2003-07-19 05:16:49 +0000
committerweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2003-07-19 05:16:49 +0000
commit44b8725c034573acb819b667137568a335be070a (patch)
treefb0ae32696c7eb50b7d34206ece7d5d01e4c3763 /nbtheory.cpp
parentd0175346c0129d932c3b90d04b4a5a9fac8dc7f4 (diff)
downloadcryptopp-44b8725c034573acb819b667137568a335be070a.tar.gz
fix 64-bit CPU issues
git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@109 57ff6487-cd31-0410-9ec3-f628ee90f5f0
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 2a517d7..ee015a4 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());
}
}