diff --git a/src/lib/io/CryptoStream.cpp b/src/lib/io/CryptoStream.cpp index 681f8937..ea9ab7c4 100644 --- a/src/lib/io/CryptoStream.cpp +++ b/src/lib/io/CryptoStream.cpp @@ -77,7 +77,7 @@ CCryptoStream::read(void* out, UInt32 n) m_decryption.processData(static_cast(out), cypher, n); logBuffer("plaintext", static_cast(out), n); delete[] cypher; - return result; + return static_cast(result); } void