diff options
author | lloyd <[email protected]> | 2010-04-23 12:51:44 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2010-04-23 12:51:44 +0000 |
commit | 5285c91f975c319078f6de7ad4568ce7f925bd6b (patch) | |
tree | b05374259d8fb3226ca8b5fabc6ff02273085af4 /src/hash | |
parent | 3bc6f213f911fb52fa9c412bb6af1a9ece60a086 (diff) |
Remove some C-style casts
Diffstat (limited to 'src/hash')
-rw-r--r-- | src/hash/sha1_sse2/sha1_sse2.cpp | 2 |
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) { |