aboutsummaryrefslogtreecommitdiffstats
path: root/src/hash/md2/md2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/hash/md2/md2.cpp')
-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];