aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/hash/skein/skein_512.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/hash/skein/skein_512.cpp')
-rw-r--r--src/lib/hash/skein/skein_512.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/hash/skein/skein_512.cpp b/src/lib/hash/skein/skein_512.cpp
index 1df3da62d..3bc23a91d 100644
--- a/src/lib/hash/skein/skein_512.cpp
+++ b/src/lib/hash/skein/skein_512.cpp
@@ -89,7 +89,7 @@ void Skein_512::initial_block()
if(m_personalization.length() > 64)
throw Invalid_Argument("Skein personalization must be less than 64 bytes");
- const uint8_t* bits = reinterpret_cast<const uint8_t*>(m_personalization.data());
+ const uint8_t* bits = cast_char_ptr_to_uint8(m_personalization.data());
reset_tweak(SKEIN_PERSONALIZATION, true);
ubi_512(bits, m_personalization.length());
}