summaryrefslogtreecommitdiff
path: root/camellia.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'camellia.cpp')
-rw-r--r--camellia.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/camellia.cpp b/camellia.cpp
index 0bca33a..cdd7906 100644
--- a/camellia.cpp
+++ b/camellia.cpp
@@ -228,7 +228,7 @@ void Camellia::Base::ProcessAndXorBlock(const byte *inBlock, const byte *xorBloc
SLOW_ROUND(lh, ll, rh, rl, KS(1,0), KS(1,1))
SLOW_ROUND(rh, rl, lh, ll, KS(1,2), KS(1,3))
- for (unsigned int i = m_rounds-1; i > 0; --i)
+ for (i = m_rounds-1; i > 0; --i)
{
DOUBLE_ROUND(lh, ll, rh, rl, KS(2,0), KS(2,1), KS(2,2), KS(2,3))
DOUBLE_ROUND(lh, ll, rh, rl, KS(3,0), KS(3,1), KS(3,2), KS(3,3))