diff options
author | lloyd <[email protected]> | 2010-12-13 22:06:59 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2010-12-13 22:06:59 +0000 |
commit | aa8a0c19ec2156864d16bfe4b82fce4f2203c08d (patch) | |
tree | c6de672209e59214c91f29a702339c35d518c459 /src/hash/md2 | |
parent | d73929a5ec894625e7e4cb82c1a22bea4a0e7a26 (diff) |
Avoid more VC warnings
Diffstat (limited to 'src/hash/md2')
-rw-r--r-- | src/hash/md2/md2.cpp | 3 |
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]; |