aboutsummaryrefslogtreecommitdiffstats
path: root/src/hash/md2
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-12-13 22:06:59 +0000
committerlloyd <[email protected]>2010-12-13 22:06:59 +0000
commitaa8a0c19ec2156864d16bfe4b82fce4f2203c08d (patch)
treec6de672209e59214c91f29a702339c35d518c459 /src/hash/md2
parentd73929a5ec894625e7e4cb82c1a22bea4a0e7a26 (diff)
Avoid more VC warnings
Diffstat (limited to 'src/hash/md2')
-rw-r--r--src/hash/md2/md2.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/hash/md2/md2.cpp b/src/hash/md2/md2.cpp
index 195c0843e..761528dc6 100644
--- a/src/hash/md2/md2.cpp
+++ b/src/hash/md2/md2.cpp
@@ -52,7 +52,8 @@ void MD2::hash(const byte input[])
T = X[k+4] ^= SBOX[T]; T = X[k+5] ^= SBOX[T];
T = X[k+6] ^= SBOX[T]; T = X[k+7] ^= SBOX[T];
}
- T += i;
+
+ T += static_cast<byte>(i);
}
T = checksum[15];