aboutsummaryrefslogtreecommitdiffstats
path: root/src/messaging/authHelper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/messaging/authHelper.cpp')
-rw-r--r--src/messaging/authHelper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/messaging/authHelper.cpp b/src/messaging/authHelper.cpp
index 5ddb8111..7ce50e0a 100644
--- a/src/messaging/authHelper.cpp
+++ b/src/messaging/authHelper.cpp
@@ -46,7 +46,7 @@ void hmac_md5(const string& text, const string& key, string& hexDigest)
if (key.length() > 64)
{
utility::md5 keyMD5;
- keyMD5.update((vmime_uint8*) key.data(), key.length());
+ keyMD5.update(reinterpret_cast <const vmime_uint8*>(key.data()), key.length());
std::copy(keyMD5.hash(), keyMD5.hash() + 16, tkey);
tkeyLen = 16;