summaryrefslogtreecommitdiff
path: root/cryptlib.h
diff options
context:
space:
mode:
Diffstat (limited to 'cryptlib.h')
-rw-r--r--cryptlib.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cryptlib.h b/cryptlib.h
index 4c0e24a..3523104 100644
--- a/cryptlib.h
+++ b/cryptlib.h
@@ -496,7 +496,7 @@ public:
//! returns whether this cipher supports random access
virtual bool IsRandomAccess() const =0;
//! for random access ciphers, seek to an absolute position
- virtual void Seek(dword n)
+ virtual void Seek(lword n)
{
assert(!IsRandomAccess());
throw NotImplemented("StreamTransformation: this object doesn't support random access");