diff options
Diffstat (limited to 'strciphr.cpp')
-rw-r--r-- | strciphr.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/strciphr.cpp b/strciphr.cpp index 78e1a3f0..d948c579 100644 --- a/strciphr.cpp +++ b/strciphr.cpp @@ -99,7 +99,7 @@ void AdditiveCipherTemplate<BASE>::Seek(dword position) if (position > 0) { policy.WriteKeystream(m_buffer, 1); - m_leftOver = bytesPerIteration - position; + m_leftOver = bytesPerIteration - (unsigned int)position; } else m_leftOver = 0; |