aboutsummaryrefslogtreecommitdiffstats
path: root/src/hash
diff options
context:
space:
mode:
Diffstat (limited to 'src/hash')
-rw-r--r--src/hash/sha1_sse2/sha1_sse2.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hash/sha1_sse2/sha1_sse2.cpp b/src/hash/sha1_sse2/sha1_sse2.cpp
index 9267689e7..00a0752f6 100644
--- a/src/hash/sha1_sse2/sha1_sse2.cpp
+++ b/src/hash/sha1_sse2/sha1_sse2.cpp
@@ -159,7 +159,7 @@ void SHA_160_SSE2::compress_n(const byte input_bytes[], u32bit blocks)
u32bit A = digest[0], B = digest[1], C = digest[2],
D = digest[3], E = digest[4];
- const __m128i* input = (const __m128i *)input_bytes;
+ const __m128i* input = reinterpret_cast<const __m128i*>(input_bytes);
for(u32bit i = 0; i != blocks; ++i)
{