diff options
Diffstat (limited to 'src/pubkey.cpp')
-rw-r--r-- | src/pubkey.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pubkey.cpp b/src/pubkey.cpp index f480c425f..cf9cb927c 100644 --- a/src/pubkey.cpp +++ b/src/pubkey.cpp @@ -378,7 +378,8 @@ SymmetricKey PK_Key_Agreement::derive_key(u32bit key_len, const std::string& params) const { return derive_key(key_len, in, in_len, - (const byte*)params.data(), params.length()); + reinterpret_cast<const byte*>(params.data()), + params.length()); } /************************************************* |