diff options
author | weidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0> | 2003-03-20 20:39:59 +0000 |
---|---|---|
committer | weidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0> | 2003-03-20 20:39:59 +0000 |
commit | ec56662ba7b4cfaf1335a88854127fac06f376aa (patch) | |
tree | c85dd5aa14780d400b30c133fa3704b044d1bbb2 /strciphr.cpp | |
parent | 4feec7c333fd1ec92d1dd8c7f741249e3919ec5e (diff) | |
download | cryptopp-ec56662ba7b4cfaf1335a88854127fac06f376aa.tar.gz |
fix warnings for VC7 and GCC
git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@43 57ff6487-cd31-0410-9ec3-f628ee90f5f0
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 78e1a3f..d948c57 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; |