summaryrefslogtreecommitdiff
path: root/seal.cpp
diff options
context:
space:
mode:
authorweidai <weidai11@users.noreply.github.com>2003-07-25 00:15:52 +0000
committerweidai <weidai11@users.noreply.github.com>2003-07-25 00:15:52 +0000
commit57109b3120b8286cdd7b4d143854f2d27873368c (patch)
tree9227398b87250aa1eca81b0853a967fe9d003103 /seal.cpp
parent623113a28bea6dd52a3d85579baa5d98383d99a8 (diff)
downloadcryptopp-git-57109b3120b8286cdd7b4d143854f2d27873368c.tar.gz
fix bugs in 64-bit CPU support
Diffstat (limited to 'seal.cpp')
-rw-r--r--seal.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/seal.cpp b/seal.cpp
index a478f9a5..0962c67f 100644
--- a/seal.cpp
+++ b/seal.cpp
@@ -75,7 +75,7 @@ void SEAL_Policy<B>::CipherResynchronize(byte *keystreamBuffer, const byte *IV)
}
template <class B>
-void SEAL_Policy<B>::SeekToIteration(dword iterationCount)
+void SEAL_Policy<B>::SeekToIteration(lword iterationCount)
{
m_outsideCounter = m_startCount + (unsigned int)(iterationCount / m_iterationsPerCount);
m_insideCounter = (unsigned int)(iterationCount % m_iterationsPerCount);